ref: 4c8737effbba0aa69d3f9f27e2b88020f5ebb41d
parent: 57736ce19c309c3ce3a9a94a3a12c5babf4cbd6a
author: yenatch <[email protected]>
date: Wed Nov 27 00:39:52 EST 2013
constant enumeration
--- a/macros.asm
+++ b/macros.asm
@@ -42,6 +42,18 @@
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