mirror of
https://github.com/cc65/cc65.git
synced 2024-08-29 09:29:19 +00:00
18 lines
202 B
ArmAsm
18 lines
202 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 07.08.1998
|
||
|
;
|
||
|
; CC65 runtime: test int in ax
|
||
|
;
|
||
|
|
||
|
.export utsta0, utstax, tsta0, tstax
|
||
|
|
||
|
tsta0:
|
||
|
utsta0: ldx #0
|
||
|
tstax:
|
||
|
utstax: cpx #0
|
||
|
bne L1
|
||
|
cmp #0
|
||
|
L1: rts
|
||
|
|
||
|
|