1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Add indirect JMP examples and fix typos in the documentation.

This commit is contained in:
John Brandwood 2016-02-26 08:10:11 -08:00
parent d23db09f7f
commit ef153364ea

View File

@ -2701,13 +2701,15 @@ Here's a list of all control commands and a description, what they do:
<tag><tt>bracket_as_indirect</tt><label id="bracket_as_indirect"></tag>
Use <tt>[]</tt> intead of <tt>()</tt> for the indirect addressing mode.
Use <tt>[]</tt> instead of <tt>()</tt> for the indirect addressing modes.
Example:
<tscreen><verb>
lda [$82]
lda [$82,x]
lda [$82],y
jmp [$fffe]
jmp [table,x]
</verb></tscreen>
<em/Note:/ This should not be used in 65186 mode because it conflicts with
the 65816 instruction syntax for far addressing. See the section covering