ldtile and dwtile macros added and globally implemented
This commit is contained in:
15
macros.asm
15
macros.asm
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user