summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-15 15:48:44 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-15 15:48:44 -0400
commit39524cdb766660a7bf6d60379040349652cecc04 (patch)
treee0657f37fbd8cbd7bf724025a4bb19e68e1e0254 /macros.asm
parent67e56102ef56e91e9563a32f6fc68827219d2037 (diff)
More enumeration of constants, more annotations of scripts.
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index cbd071b8f..ccbc4ed22 100644
--- a/macros.asm
+++ b/macros.asm
@@ -136,3 +136,9 @@ bcd: MACRO
shift
endr
ENDM
+
+add_n_times: MACRO
+ rept \3
+ add \1, \2
+ endr
+ENDM