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