ldtile and dwtile macros added and globally implemented

This commit is contained in:
PikalaxALT
2015-10-13 11:37:10 -04:00
parent 0c39f6e273
commit 8c2766e1b9
6 changed files with 99 additions and 87 deletions

View File

@@ -161,3 +161,18 @@ ln: MACRO
endc
endc
ENDM
dwtile: MACRO
dw (\1 << 4) + \2
if _NARG > 2
rept _NARG + -2
dw \3
shift
endr
endc
ENDM
ldtile: MACRO
ld \1, (\2 << 4) + \3
ENDM