mirror of
https://github.com/mgcaret/of816.git
synced 2024-06-07 21:29:27 +00:00
resolve one issue involving comparison with MIN-INT
This commit is contained in:
parent
b38171eb29
commit
84c53d35c6
|
@ -8,14 +8,13 @@
|
||||||
lda STACKBASE+6,x
|
lda STACKBASE+6,x
|
||||||
eor STACKBASE+2,x
|
eor STACKBASE+2,x
|
||||||
bpl samesign
|
bpl samesign
|
||||||
lda STACKBASE+4,x
|
lda STACKBASE+0,x
|
||||||
cmp STACKBASE+0,x
|
cmp STACKBASE+4,x
|
||||||
lda STACKBASE+6,x
|
lda STACKBASE+2,x
|
||||||
sbc STACKBASE+2,x
|
sbc STACKBASE+6,x
|
||||||
bvs :+
|
bvc :+
|
||||||
eor #$8000
|
eor #$8000
|
||||||
: sec
|
: rol
|
||||||
rol
|
|
||||||
rts
|
rts
|
||||||
samesign: lda STACKBASE+6,x
|
samesign: lda STACKBASE+6,x
|
||||||
cmp STACKBASE+2,x
|
cmp STACKBASE+2,x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user