ref: 6ad4c26a0345ab74a067ea9584747ea419531342
dir: /macros/code.asm/
; Syntactic sugar macros lb: MACRO ; r, hi, lo ld \1, ((\2) & $ff) << 8 + ((\3) & $ff) ENDM ldPal: MACRO ld \1, \2 << 6 | \3 << 4 | \4 << 2 | \5 ENDM ; Design patterns dict: MACRO if \1 == 0 and a else cp \1 endc jp z, \2 ENDM