mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
19 lines
277 B
ArmAsm
19 lines
277 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 06.08.1998
|
||
|
;
|
||
|
; CC65 runtime: Compare > for unsigned ints
|
||
|
;
|
||
|
|
||
|
.export tosugt00, tosugta0, tosugtax
|
||
|
.import tosicmp, boolugt
|
||
|
|
||
|
|
||
|
tosugt00:
|
||
|
lda #$00
|
||
|
tosugta0:
|
||
|
ldx #$00
|
||
|
tosugtax:
|
||
|
jsr tosicmp ; Set flags
|
||
|
jmp boolugt ; Convert to boolean
|
||
|
|