From 275780271e040761b7d15dba2258f2b5a42d5c4c Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 3 Mar 2015 17:19:27 -0500 Subject: Use a macro instead of manually subtracting $36 from pic banks. --- macros/pic.asm | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 macros/pic.asm (limited to 'macros/pic.asm') diff --git a/macros/pic.asm b/macros/pic.asm new file mode 100644 index 000000000..a01ce7a31 --- /dev/null +++ b/macros/pic.asm @@ -0,0 +1,4 @@ +add_pic: MACRO + db BANK(\1) - $36 + dw \1 +ENDM -- cgit v1.2.3