summaryrefslogtreecommitdiff
path: root/emu/6502.h
diff options
context:
space:
mode:
Diffstat (limited to 'emu/6502.h')
-rw-r--r--emu/6502.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/emu/6502.h b/emu/6502.h
index baefd0f..bfc8314 100644
--- a/emu/6502.h
+++ b/emu/6502.h
@@ -48,15 +48,23 @@ enum {
LDY_ZERO = 0xA4,
LDA_IMM = 0xA9,
LDA_ZERO = 0xA5,
+ STX_ZERO = 0x86,
STX_ABS = 0x8E,
+ DEX_IMPL = 0xCA,
DEY_IMPL = 0x88,
+ INY_IMPL = 0xC8,
+ INC_IMPL = 0xE6,
ROL_ACC = 0x2A,
BNE_REL = 0xD0,
BCC_REL = 0x90,
+ BCS_REL = 0xB0,
JMP_ABS = 0x4C,
JSR_ABS = 0x20,
RTS_IMPL = 0x60,
- TXS_IMPL = 0x9A
+ TXS_IMPL = 0x9A,
+ CPX_IMM = 0xE0,
+ SBC_IMM = 0xE9,
+ NOP_IMPL = 0xEA
};
void cpu_6502_init( cpu_6502_t *cpu, bus_t *bus, bool initialize );