Bug fix: TSX was still wrong

This commit is contained in:
Takashi Toyoshima 2014-12-08 02:49:17 +09:00
parent 77fa2964f1
commit 62b69b5458
1 changed files with 2 additions and 3 deletions

5
6502.S
View File

@ -1405,10 +1405,9 @@ opb9: // LDA - Absolute, Y
_decode
opba: // TSX
_t SP, RX
mov r0, RX
mov r0, SP
uxtb r0, r0
mov RX, r0
_t r0, RX
_decode
opbc: // LDY - Absolute, X