mirror of
https://github.com/cc65/cc65.git
synced 2024-11-07 21:10:15 +00:00
21 lines
280 B
ArmAsm
21 lines
280 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 06.08.1998
|
||
|
;
|
||
|
; CC65 runtime: Compare >= for unsigned ints
|
||
|
;
|
||
|
|
||
|
.export tosuge00, tosugea0, tosugeax
|
||
|
.import tosicmp, booluge
|
||
|
|
||
|
|
||
|
tosuge00:
|
||
|
lda #$00
|
||
|
tosugea0:
|
||
|
ldx #$00
|
||
|
tosugeax:
|
||
|
jsr tosicmp ; Set flags
|
||
|
jmp booluge ; Convert to boolean
|
||
|
|
||
|
|
||
|
|