summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index 92d504c..a759ff8 100644
--- a/opcode.h
+++ b/opcode.h
@@ -77,7 +77,7 @@
#define CPX 0xB4 /* ComPare X register. */
#define CAX 0xB5 /* Compare Accumulator, and X register. */
#define ENT 0xB8 /* ENd Threads. */
-#define RTI 0xC0 /* ReTurn from Interupt. */
+#define RTI 0xC0 /* ReTurn from Interrupt. */
#define INC 0xC1 /* INCrement accumulator. */
#define INY 0xC2 /* INcrement Y register. */
#define IAY 0xC3 /* Increment Accumulator, and Y register. */
@@ -88,6 +88,7 @@
#define DAY 0xD3 /* Decrement Accumulator, and Y register. */
#define DEX 0xD4 /* DEcrement X register. */
#define DAX 0xD5 /* Decrement Accumulator, and X register. */
+#define WAI 0xD8 /* WAit for Interrupt. */
#define JSL 0xE0 /* Jump to Subroutine Long. */
#define NOP 0xE8 /* No OPeration. */
#define RTL 0xF0 /* ReTurn from subroutine Long. */
@@ -265,6 +266,7 @@ static const char *opname[0x100] = {
OPNAME(DAY),
OPNAME(DEX),
OPNAME(DAX),
+ OPNAME(WAI),
OPNAME(JSL),
[0xE1] = "INC a",
[0xE2] = "CPY a",