diff options
author | yenatch <yenatch@gmail.com> | 2014-05-27 11:09:08 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-27 11:16:05 -0700 |
commit | ea05c44163f753b9f507535d8ee549a4d43a4410 (patch) | |
tree | e7fd69b85e293071021489dd5bd049573d889e83 /macros.asm | |
parent | f16f07c5ca38fa269972dfecab7dbae50e0a73ff (diff) |
Add macro TX_BCD for printing BCD numbers.
This fixes some more static wram addresses.
Diffstat (limited to 'macros.asm')
-rw-r--r-- | macros.asm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -131,6 +131,12 @@ TX_RAM: MACRO dw \1 ENDM +TX_BCD: MACRO + db $2 + dw \1 + db \2 + ENDM + ; Predef macro. PREDEF: MACRO ld a, (\1 - PredefPointers) / 3 |