2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
|
|
;
|
|
|
|
; CC65 runtime: Compare >= for unsigned ints
|
|
|
|
;
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export tosuge00, tosugea0, tosugeax
|
|
|
|
.import tosicmp, booluge
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
tosuge00:
|
2013-05-09 13:56:54 +02:00
|
|
|
lda #$00
|
2000-05-28 13:40:48 +00:00
|
|
|
tosugea0:
|
2013-05-09 13:56:54 +02:00
|
|
|
ldx #$00
|
2000-05-28 13:40:48 +00:00
|
|
|
tosugeax:
|
2013-05-09 13:56:54 +02:00
|
|
|
jsr tosicmp ; Set flags
|
|
|
|
jmp booluge ; Convert to boolean
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|