summaryrefslogtreecommitdiff
path: root/src/macros.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2016-02-22 12:05:26 +0100
committerxCrystal <rgr.crystal@gmail.com>2016-02-22 12:05:26 +0100
commitb3b437ab2902e70504b1e1f80a40c946d8f8c55d (patch)
treebe180df500ae758b622a39ab7b365f6ade7da250 /src/macros.asm
parent0a642f8f1442397c75e06b14ae0da3f7f0af3241 (diff)
text_hl macro
Diffstat (limited to 'src/macros.asm')
-rwxr-xr-xsrc/macros.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/macros.asm b/src/macros.asm
index f1a850d..75a2ea7 100755
--- a/src/macros.asm
+++ b/src/macros.asm
@@ -42,6 +42,10 @@ GLOBAL \1_
const_value = const_value + 1
ENDM
+text_hl: MACRO
+ ld hl, \1_
+ENDM
+
SGB: MACRO
db \1 * 8 + \2 ; sgb_command * 8 + length
ENDM