ref: 72a0e98c9393b0fdbe5bf209eac6591dddd9cfc5
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