mirror of
https://github.com/toyoshim/Applerm-II.git
synced 2024-06-11 23:29:30 +00:00
Implmenet op -0x3f
This commit is contained in:
parent
124bfa1941
commit
fb81353de3
79
6502.S
79
6502.S
|
@ -388,6 +388,14 @@ op23:
|
||||||
op27:
|
op27:
|
||||||
op2b:
|
op2b:
|
||||||
op2f:
|
op2f:
|
||||||
|
op32:
|
||||||
|
op33:
|
||||||
|
op34:
|
||||||
|
op37:
|
||||||
|
op3a:
|
||||||
|
op3b:
|
||||||
|
op3c:
|
||||||
|
op3f:
|
||||||
_nop
|
_nop
|
||||||
_decode
|
_decode
|
||||||
|
|
||||||
|
@ -551,39 +559,50 @@ op2e: // ROL - Absolute
|
||||||
_toAddr
|
_toAddr
|
||||||
_decode
|
_decode
|
||||||
|
|
||||||
op30:
|
op30: // BMI (N==1)
|
||||||
b quit
|
movs r0, #FLAG_N
|
||||||
op31:
|
tst SR, r0
|
||||||
b quit
|
beq 1f
|
||||||
op32:
|
_bxx
|
||||||
b quit
|
1:
|
||||||
op33:
|
_decode
|
||||||
b quit
|
|
||||||
op34:
|
op31: // AND - (Indirect), Y
|
||||||
b quit
|
_fromIndirectIndex
|
||||||
op35:
|
_lop ands
|
||||||
b quit
|
_decode
|
||||||
op36:
|
|
||||||
b quit
|
op35: // AND - Zero Page, X
|
||||||
op37:
|
_fromZeroIndex RX
|
||||||
b quit
|
_lop ands
|
||||||
|
_decode
|
||||||
|
|
||||||
|
op36: // ROL - Zero Page, X
|
||||||
|
_fromZeroIndex RX
|
||||||
|
_rol
|
||||||
|
_toAddr
|
||||||
|
_decode
|
||||||
|
|
||||||
op38: // SEC
|
op38: // SEC
|
||||||
_sex FLAG_C
|
_sex FLAG_C
|
||||||
_decode
|
_decode
|
||||||
op39:
|
|
||||||
b quit
|
op39: // AND - Absolute, Y
|
||||||
op3a:
|
_fromAbsoluteIndexed RY
|
||||||
b quit
|
_lop ands
|
||||||
op3b:
|
_decode
|
||||||
b quit
|
|
||||||
op3c:
|
op3d: // AND - Absolute, X
|
||||||
b quit
|
_fromAbsoluteIndexed RX
|
||||||
op3d:
|
_lop ands
|
||||||
b quit
|
_decode
|
||||||
op3e:
|
|
||||||
b quit
|
op3e: // ROL - Absolute, X
|
||||||
op3f:
|
_fromAbsoluteIndexed RX
|
||||||
b quit
|
_rol
|
||||||
|
_toAddr
|
||||||
|
_decode
|
||||||
|
|
||||||
op40:
|
op40:
|
||||||
b quit
|
b quit
|
||||||
op41:
|
op41:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user