fixed opcode table
This commit is contained in:
parent
92d92a80c6
commit
cb890b0960
3 changed files with 5 additions and 5 deletions
|
@ -403,7 +403,7 @@ void execute(struct CPU* cpu)
|
|||
cpu->x--;
|
||||
|
||||
cpu->status.negative = ((cpu->x & 0x80) == 0x80);
|
||||
cpu->status.zero = (cpu->x == 0x80);
|
||||
cpu->status.zero = (cpu->x == 0x00);
|
||||
} break;
|
||||
|
||||
case DEY:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue