.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