diff options
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index 8d665be2..a22259d9 100644 --- a/constants.asm +++ b/constants.asm @@ -1,3 +1,9 @@ +; macro for putting a byte then a word +dbw: MACRO + db \1 + dw \2 + ENDM + ; data format macros RGB: MACRO dw (\3 << 10 | \2 << 5 | \1) |