From 4c8737effbba0aa69d3f9f27e2b88020f5ebb41d Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 27 Nov 2013 05:39:52 -0500 Subject: [PATCH] constant enumeration --- macros.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/macros.asm b/macros.asm index 3a22a43db..135694883 100644 --- a/macros.asm +++ b/macros.asm @@ -42,6 +42,18 @@ lb: MACRO ; r, hi, lo ENDM +; Constant enumeration + +const_def: MACRO +const_value SET 0 +ENDM + +const: MACRO +\1 EQU const_value +const_value SET const_value + 1 +ENDM + + TX_RAM: MACRO db 1 dw \1