diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-03 19:03:08 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-03 19:03:08 +0100 |
commit | c40499b83f238de9b1a88a080261546149784586 (patch) | |
tree | 0baf7b5dee58d2929cd43000a0b0782e68e0d847 /emu/6502.h | |
parent | c7b0b280339064ab1b673ab7767d0318b2e9b72a (diff) | |
download | 6502-c40499b83f238de9b1a88a080261546149784586.tar.gz 6502-c40499b83f238de9b1a88a080261546149784586.tar.bz2 |
some more opcodes for delay 7-seg example
Diffstat (limited to 'emu/6502.h')
-rw-r--r-- | emu/6502.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 ); |