mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 20:06:11 +00:00
19 lines
338 B
ArmAsm
19 lines
338 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
;
|
|
; CC65 runtime: Compare != for ints
|
|
;
|
|
|
|
.export tosne00, tosnea0, tosneax
|
|
.import tosicmp, boolne
|
|
|
|
tosne00:
|
|
lda #$00
|
|
tosnea0:
|
|
ldx #$00
|
|
tosneax:
|
|
jsr tosicmp ; Set flags
|
|
jmp boolne ; Convert to boolean
|
|
|
|
|