mirror of
https://github.com/cc65/cc65.git
synced 2024-11-11 01:05:25 +00:00
19 lines
285 B
ArmAsm
19 lines
285 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 06.08.1998
|
||
|
;
|
||
|
; CC65 runtime: Compare <= for unsigned ints
|
||
|
;
|
||
|
|
||
|
.export tosule00, tosulea0, tosuleax
|
||
|
.import tosicmp, boolule
|
||
|
|
||
|
tosule00:
|
||
|
lda #$00
|
||
|
tosulea0:
|
||
|
ldx #$00
|
||
|
tosuleax:
|
||
|
jsr tosicmp ; Set flags
|
||
|
jmp boolule ; Convert to boolean
|
||
|
|
||
|
|