Bug fix: toAbsb can not store the right value

This commit is contained in:
Takashi Toyoshima 2014-12-07 19:02:33 +09:00
parent 064567f346
commit 1f39658a0b
1 changed files with 2 additions and 1 deletions

3
6502.S
View File

@ -215,8 +215,9 @@
.macro _toAbsb
adds r0, PC, #1
mov TZ, T0
_ldw
mov r1, T0
mov r1, TZ
_stb
adds PC, PC, #3
.endm