]> git.sur5r.net Git - cc65/commitdiff
Add indirect JMP examples and fix typos in the documentation. 269/head
authorJohn Brandwood <john@telzey.com>
Fri, 26 Feb 2016 16:10:11 +0000 (08:10 -0800)
committerJohn Brandwood <john@telzey.com>
Fri, 26 Feb 2016 16:10:11 +0000 (08:10 -0800)
doc/ca65.sgml

index f863e7e1076af44fe0c2f641967f8379e8fb67c0..14fe8714f4eb7a578c618f6207a2b7b14bdb96e3 100644 (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