correcting JUMP instruction decoding

This commit is contained in:
Thiago Auler dos Santos 2017-11-26 02:07:50 -02:00
parent cb84e4fe95
commit e37307986f
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ enum opcodes_table
/* aaa *///================================================
/* 000 */ ORA = 0b00001, ASL = 0b00010,
/* 001 */ BIT = 0b00100, AND = 0b00101, ROL = 0b00110,
/* 010 */ JMP = 0b01000, EOR = 0b01001, LSR = 0b01010,
/* 011 */ JPA = 0b01100, ADC = 0b01101, ROR = 0b01110,
/* 010 */ JPA = 0b01000, EOR = 0b01001, LSR = 0b01010,
/* 011 */ JMP = 0b01100, ADC = 0b01101, ROR = 0b01110,
/* 100 */ STY = 0b10000, STA = 0b10001, STX = 0b10010,
/* 101 */ LDY = 0b10100, LDA = 0b10101, LDX = 0b10110,
/* 110 */ CPY = 0b11000, CMP = 0b11001, DEC = 0b11010,