mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 17:04:58 +00:00
21 lines
356 B
ArmAsm
21 lines
356 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
|
|
|
|
|
|
|