Bug fix: bit and cmp operations didn't increment PC

This commit is contained in:
Takashi Toyoshima 2014-12-07 14:30:43 +09:00
parent ff26481127
commit 21b25243d7
1 changed files with 2 additions and 0 deletions

2
6502.S
View File

@ -400,6 +400,7 @@
beq 1f
__se FLAG_V
1:
adds PC, PC, #1
.endm
.macro _bxc reg
@ -446,6 +447,7 @@
beq 1f
__se FLAG_N
1:
adds PC, PC, #1
.endm
.macro _dec