mirror of
https://github.com/ksherlock/minix.fst.git
synced 2024-06-06 13:29:28 +00:00
_rts.cc -> return if cc.
This commit is contained in:
parent
b6be03a174
commit
66a91ae8fc
43
fst.macros
43
fst.macros
|
@ -219,4 +219,45 @@
|
||||||
lda &n1
|
lda &n1
|
||||||
pha
|
pha
|
||||||
|
|
||||||
MEND
|
MEND
|
||||||
|
|
||||||
|
|
||||||
|
; _rts.cc -> return iff carry clear
|
||||||
|
macro
|
||||||
|
&l _rts.&cond
|
||||||
|
|
||||||
|
if &cond='cc' THEN
|
||||||
|
bcs @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='cs' THEN
|
||||||
|
bcc @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='eq' THEN
|
||||||
|
bne @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='ne' THEN
|
||||||
|
beq @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='mi' THEN
|
||||||
|
bpl @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='pl' THEN
|
||||||
|
bmi @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='vs' THEN
|
||||||
|
bvc @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
if &cond='vc' THEN
|
||||||
|
bvs @ok
|
||||||
|
ENDIF
|
||||||
|
|
||||||
|
rts
|
||||||
|
@ok
|
||||||
|
mend
|
Loading…
Reference in New Issue
Block a user