mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-22 08:31:36 +00:00
The branch op code I was looking for
This commit is contained in:
parent
934c52cf4d
commit
3807a29fc9
@ -1363,24 +1363,22 @@ BRFLS INX
|
||||
ORA ESTKL-1,X
|
||||
BNE NOBRNCH
|
||||
BRNCH TYA ; FLATTEN IP
|
||||
CLC
|
||||
SEC
|
||||
ADC IPL
|
||||
STA TMPL
|
||||
LDA #$00
|
||||
TAY
|
||||
ADC IPH
|
||||
STA TMPH ; ADD BRANCH OFFSET
|
||||
INY
|
||||
LDA (IP),Y
|
||||
LDA (TMP),Y
|
||||
CLC
|
||||
ADC TMPL
|
||||
STA TMPL
|
||||
STA IPL
|
||||
INY
|
||||
LDA (IP),Y
|
||||
LDA (TMP),Y
|
||||
ADC TMPH
|
||||
STA IPH
|
||||
LDA TMPL
|
||||
STA IPL
|
||||
LDY #$01
|
||||
DEY
|
||||
JMP FETCHOP
|
||||
BREQ INX
|
||||
LDA ESTKL-1,X
|
||||
|
@ -1285,7 +1285,7 @@ BRNCH TYA ; FLATTEN IP
|
||||
CLC
|
||||
ADC IP
|
||||
INY ;+INC_IP
|
||||
CLC ; ADD BRANCH OFFSET
|
||||
;CLC ; ADD BRANCH OFFSET (BETTER NOT CARRY OUT OF IP+Y)
|
||||
ADC (IP),Y
|
||||
STA IP
|
||||
LDY #$01
|
||||
|
Loading…
x
Reference in New Issue
Block a user