Corrected the list of macros in the macro packages.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4730 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ea3f4f34c3
commit
672cffa1d2
1 changed files with 28 additions and 8 deletions
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue