mirror of
https://github.com/toyoshim/Applerm-II.git
synced 2024-05-31 15:41:29 +00:00
Implement op -0x5f
This commit is contained in:
parent
4c3a822893
commit
8e22cfe6cf
79
6502.S
79
6502.S
|
@ -444,6 +444,14 @@ op44:
|
||||||
op47:
|
op47:
|
||||||
op4b:
|
op4b:
|
||||||
op4f:
|
op4f:
|
||||||
|
op52:
|
||||||
|
op53:
|
||||||
|
op54:
|
||||||
|
op57:
|
||||||
|
op5a:
|
||||||
|
op5b:
|
||||||
|
op5c:
|
||||||
|
op5f:
|
||||||
_nop
|
_nop
|
||||||
_decode
|
_decode
|
||||||
|
|
||||||
|
@ -704,39 +712,50 @@ op4e: // LSR - Absolute
|
||||||
_toAddr
|
_toAddr
|
||||||
_decode
|
_decode
|
||||||
|
|
||||||
op50:
|
op50: // BVC (V==0)
|
||||||
b quit
|
movs r0, #FLAG_V
|
||||||
op51:
|
tst SR, r0
|
||||||
b quit
|
bne 1f
|
||||||
op52:
|
_bxx
|
||||||
b quit
|
1:
|
||||||
op53:
|
_decode
|
||||||
b quit
|
|
||||||
op54:
|
op51: // EOR - (Indirect), Y
|
||||||
b quit
|
_fromIndirectIndex
|
||||||
op55:
|
_lop eors
|
||||||
b quit
|
_decode
|
||||||
op56:
|
|
||||||
b quit
|
op55: // EOR - Zero Page, X
|
||||||
op57:
|
_fromZeroIndex RX
|
||||||
b quit
|
_lop eors
|
||||||
|
_decode
|
||||||
|
|
||||||
|
op56: // LSR - Zero Page, X
|
||||||
|
_fromZeroIndex RX
|
||||||
|
_lsr
|
||||||
|
_toAddr
|
||||||
|
_decode
|
||||||
|
|
||||||
op58: // CLI
|
op58: // CLI
|
||||||
_clx FLAG_I
|
_clx FLAG_I
|
||||||
_decode
|
_decode
|
||||||
op59:
|
|
||||||
b quit
|
op59: // EOR - Absolute, Y
|
||||||
op5a:
|
_fromAbsoluteIndexed RY
|
||||||
b quit
|
_lop eors
|
||||||
op5b:
|
_decode
|
||||||
b quit
|
|
||||||
op5c:
|
op5d: // EOR - Absolute, X
|
||||||
b quit
|
_fromAbsoluteIndexed RX
|
||||||
op5d:
|
_lop eors
|
||||||
b quit
|
_decode
|
||||||
op5e:
|
|
||||||
b quit
|
op5e: // LSR - Absolute, X
|
||||||
op5f:
|
_fromAbsoluteIndexed RX
|
||||||
b quit
|
_lsr
|
||||||
|
_toAddr
|
||||||
|
_decode
|
||||||
|
|
||||||
op60:
|
op60:
|
||||||
b quit
|
b quit
|
||||||
op61:
|
op61:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user