From: uz Date: Sat, 26 Jun 2010 11:19:32 +0000 (+0000) Subject: Corrected the list of macros in the macro packages. X-Git-Tag: V2.13.3~702 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=672cffa1d2453c914a845229ba9d4d8e24a1e3ff;p=cc65 Corrected the list of macros in the macro packages. git-svn-id: svn://svn.cc65.org/cc65/trunk@4730 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 349a34ea7..67a03f272 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -3042,7 +3042,7 @@ Here's a list of all control commands and a description, what they do: .macpack longbranch ; Include macro package - + cmp #$20 ; Set condition codes jne Label ; Jump long on condition @@ -3954,18 +3954,38 @@ are: .MACPACK generic

This macro package defines macros that are useful in almost any program. -Currently, two macros are defined: +Currently defined macros are: .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