aboutsummaryrefslogtreecommitdiffstats
path: root/macros/const.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/const.asm')
-rw-r--r--macros/const.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/const.asm b/macros/const.asm
index fa2f0753..d6a34672 100644
--- a/macros/const.asm
+++ b/macros/const.asm
@@ -1,6 +1,6 @@
; Enumerate constants
-MACRO const_def
+MACRO? const_def
IF _NARG >= 1
DEF const_value = \1
ELSE
@@ -13,22 +13,22 @@ MACRO const_def
ENDC
ENDM
-MACRO const
+MACRO? const
DEF \1 EQU const_value
DEF const_value += const_inc
ENDM
-MACRO const_export
+MACRO? const_export
const \1
EXPORT \1
ENDM
-MACRO shift_const
+MACRO? shift_const
DEF \1 EQU 1 << const_value
DEF const_value += const_inc
ENDM
-MACRO const_skip
+MACRO? const_skip
if _NARG >= 1
DEF const_value += const_inc * (\1)
else
@@ -36,7 +36,7 @@ MACRO const_skip
endc
ENDM
-MACRO const_next
+MACRO? const_next
if (const_value > 0 && \1 < const_value) || (const_value < 0 && \1 > const_value)
fail "const_next cannot go backwards from {const_value} to \1"
else
@@ -44,12 +44,12 @@ MACRO const_next
endc
ENDM
-MACRO dw_const
+MACRO? dw_const
dw \1
const \2
ENDM
-MACRO rb_skip
+MACRO? rb_skip
IF _NARG == 1
rsset _RS + \1
ELSE