diff options
| author | Astrid Smith | 2011-10-22 00:48:25 -0700 |
|---|---|---|
| committer | Astrid Smith | 2011-10-22 00:48:25 -0700 |
| commit | 3c802cbedc1f5e5f07afb837efcc160c11336e83 (patch) | |
| tree | 671a540f93f5d910594119eb7e40b438facf49bb /opcodes.inc.m4 | |
| parent | b9be2d76a48409e1b5053338cd5f51f22b6e5b2f (diff) | |
Now gas eats it all happily
With the exception of the final binary being too large to link ...
Diffstat (limited to 'opcodes.inc.m4')
| -rw-r--r-- | opcodes.inc.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes.inc.m4 b/opcodes.inc.m4 index 0ce4a17..a2fb064 100644 --- a/opcodes.inc.m4 +++ b/opcodes.inc.m4 @@ -12,6 +12,7 @@ dnl # 4. Cycles the emulator takes dnl # 5. Bytes of emulator code for this instruction dnl # define(«OPCODE»,« START +.print "Opcode $1" dnl # This little bit of trickery lets me define a local label. dnl # Calling local(end) inside of OPCODE(10, ...) will expand to dnl # end_10, and is undefined everywhere else. @@ -34,7 +35,7 @@ define(«OP_CB»,« START_CB define(«local»,$«»1_cb««$1»»)dnl «emu_op_cb»$1«:» $2 - TIME $3 ifelse(«,$4», «,», «», «,$4») + TIME ifelse(«,$3», «,», «0», «$3»), ifelse(«,$4», «,», «0», «$4») undefine(«label»)dnl DONE»)dnl dnl |
