Bug fix: bit

This commit is contained in:
Takashi Toyoshima 2014-12-08 03:18:54 +09:00
parent 5465cc99d2
commit 7dcce64f10
1 changed files with 1 additions and 1 deletions

2
6502.S
View File

@ -440,7 +440,7 @@
.macro _bit
__cl (FLAG_N | FLAG_Z | FLAG_V)
mov r1, RA
ands r0, r1, r0
ands r1, r1, r0
bne 1f
__se FLAG_Z
1: