diff options
Diffstat (limited to 'macros/data.asm')
-rw-r--r-- | macros/data.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/data.asm b/macros/data.asm index 241e52a..aa7233d 100644 --- a/macros/data.asm +++ b/macros/data.asm @@ -127,3 +127,7 @@ rept \1 x = x + DIV(32768, \1) ; a circle has 65536 "degrees" endr ENDM + +RGB: MACRO + dw (\3 << 10 | \2 << 5 | \1) +ENDM |