Move, comment, and simplify some macro definitions

This commit is contained in:
Rangi
2020-04-04 15:19:43 -04:00
parent 0ee9d7a48b
commit 3cdfac7994
6 changed files with 36 additions and 44 deletions

View File

@@ -8,17 +8,6 @@ ln: MACRO ; r, hi, lo
ld \1, ((\2) & $f) << 4 | ((\3) & $f)
ENDM
ldpixel: MACRO
if _NARG >= 5
lb \1, \2 * 8 + \4, \3 * 8 + \5
else
lb \1, \2 * 8, \3 * 8
endc
ENDM
depixel EQUS "ldpixel de,"
bcpixel EQUS "ldpixel bc,"
; Design patterns
jumptable: MACRO