summaryrefslogtreecommitdiff
path: root/opcodes.inc.m4
diff options
context:
space:
mode:
authorDuncan Smith2010-11-12 21:30:13 -0800
committerDuncan Smith2010-11-12 21:30:13 -0800
commit2164cc7b99ab44b9efe03d5f4dc2392fc34791f3 (patch)
tree160c87551ac0e6232408d8582c95bac04ed18ffe /opcodes.inc.m4
parent27a6de6da13ff3afc1740cf193ed11623a75829d (diff)
Reworked opcodes.asm to use m4. Soon, it will be clean.
Diffstat (limited to 'opcodes.inc.m4')
-rw-r--r--opcodes.inc.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes.inc.m4 b/opcodes.inc.m4
new file mode 100644
index 0000000..d7343e8
--- /dev/null
+++ b/opcodes.inc.m4
@@ -0,0 +1,8 @@
+dnl # change the comments to match the assembler. Prevents/reduces
+dnl # confusion, since m4 likes to use ' as a quoting character.
+changecom(;)dnl
+define(`OPCODE',` START
+`emu_op_'$1`:'
+$2
+ TIME $3
+ DONE')dnl