summaryrefslogtreecommitdiff
path: root/opcodes.inc.m4
diff options
context:
space:
mode:
authorAstrid Smith2010-11-12 21:30:13 -0800
committerAstrid Smith2010-11-12 21:30:13 -0800
commit7306a2d260594efefe5761fc617a4e2aba97c41f (patch)
tree04f3d0cb7e3e29f7400a40418c43b3eb7832244a /opcodes.inc.m4
parentc77ca273dd14e04dad867faadfcd6c66bf510756 (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