mirror of
https://github.com/thiagoauler/apple1.git
synced 2024-11-25 20:32:02 +00:00
correcting JUMP instruction decoding
This commit is contained in:
parent
cb84e4fe95
commit
e37307986f
@ -16,8 +16,8 @@ enum opcodes_table
|
|||||||
/* aaa *///================================================
|
/* aaa *///================================================
|
||||||
/* 000 */ ORA = 0b00001, ASL = 0b00010,
|
/* 000 */ ORA = 0b00001, ASL = 0b00010,
|
||||||
/* 001 */ BIT = 0b00100, AND = 0b00101, ROL = 0b00110,
|
/* 001 */ BIT = 0b00100, AND = 0b00101, ROL = 0b00110,
|
||||||
/* 010 */ JMP = 0b01000, EOR = 0b01001, LSR = 0b01010,
|
/* 010 */ JPA = 0b01000, EOR = 0b01001, LSR = 0b01010,
|
||||||
/* 011 */ JPA = 0b01100, ADC = 0b01101, ROR = 0b01110,
|
/* 011 */ JMP = 0b01100, ADC = 0b01101, ROR = 0b01110,
|
||||||
/* 100 */ STY = 0b10000, STA = 0b10001, STX = 0b10010,
|
/* 100 */ STY = 0b10000, STA = 0b10001, STX = 0b10010,
|
||||||
/* 101 */ LDY = 0b10100, LDA = 0b10101, LDX = 0b10110,
|
/* 101 */ LDY = 0b10100, LDA = 0b10101, LDX = 0b10110,
|
||||||
/* 110 */ CPY = 0b11000, CMP = 0b11001, DEC = 0b11010,
|
/* 110 */ CPY = 0b11000, CMP = 0b11001, DEC = 0b11010,
|
||||||
|
Loading…
Reference in New Issue
Block a user