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 tosule00, tosulea0, tosuleax
|
|
|
|
.import tosicmp, boolule
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
tosule00:
|
2013-05-09 13:56:54 +02:00
|
|
|
lda #$00
|
2000-05-28 13:40:48 +00:00
|
|
|
tosulea0:
|
2013-05-09 13:56:54 +02:00
|
|
|
ldx #$00
|
2000-05-28 13:40:48 +00:00
|
|
|
tosuleax:
|
2013-05-09 13:56:54 +02:00
|
|
|
jsr tosicmp ; Set flags
|
|
|
|
jmp boolule ; Convert to boolean
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|