1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/runtime/uge.s

21 lines
280 B
ArmAsm
Raw Normal View History

;
; 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