summaryrefslogtreecommitdiff
path: root/opcodes.inc.m4
diff options
context:
space:
mode:
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