]> git.sur5r.net Git - cc65/commitdiff
Corrected the list of macros in the macro packages.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 26 Jun 2010 11:19:32 +0000 (11:19 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 26 Jun 2010 11:19:32 +0000 (11:19 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4730 b7a2c559-68d2-44c3-8de9-860c34a00d81

doc/ca65.sgml

index 349a34ea7e3e690d606c7206f4998e612412788a..67a03f27291361095a0778e200adcc5a7c674815 100644 (file)
@@ -3042,7 +3042,7 @@ Here's a list of all control commands and a description, what they do:
 
   <tscreen><verb>
                .macpack        longbranch      ; Include macro package
-
+                         
                        cmp     #$20            ; Set condition codes
                        jne     Label           ; Jump long on condition
   </verb></tscreen>
@@ -3954,18 +3954,38 @@ are:
 <sect1><tt>.MACPACK generic</tt><p>
 
 This macro package defines macros that are useful in almost any program.
-Currently, two macros are defined:
+Currently defined macros are:
 
 <tscreen><verb>
        .macro  add     Arg
                clc
-               adc     Arg
-       .endmacro
+               adc     Arg
+       .endmacro
 
-       .macro  sub     Arg
-               sec
-               sbc     Arg
-       .endmacro
+       .macro  sub     Arg
+               sec
+               sbc     Arg
+       .endmacro
+
+        .macro  bge     Arg
+                bcs     Arg
+        .endmacro
+
+        .macro  blt     Arg
+                bcc     Arg
+        .endmacro
+
+        .macro  bgt     Arg
+                .local  L
+                beq     L
+                bcs     Arg
+        L:
+        .endmacro
+
+        .macro  ble     Arg
+                beq     Arg
+                bcc     Arg
+        .endmacro
 </verb></tscreen>