summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpadz <yenatch@github.com>2012-10-09 14:54:39 -0400
committerpadz <yenatch@github.com>2012-10-09 14:54:39 -0400
commit811ea2071d59e856bd2c4e7bd9d54ca4a30f46ee (patch)
treecd3dcccd3e2c1a0fc40ba509a61ec41e0c938abb
parent3383c45c2706c0a47b697f4e59583e03183b3ff8 (diff)
add dn macro
-rw-r--r--constants.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm
index 76d186b88..41f713b54 100644
--- a/constants.asm
+++ b/constants.asm
@@ -5,6 +5,10 @@ dwb: MACRO
db \2
ENDM
+dn: MACRO
+ db \1 << 4 + \2
+ ENDM
+
callab: MACRO
ld hl, \1
ld a, BANK(\1)