mirror of
https://github.com/cc65/cc65.git
synced 2024-11-08 13:04:52 +00:00
19 lines
348 B
ArmAsm
19 lines
348 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
;
|
|
; CC65 runtime: Compare > for signed ints
|
|
;
|
|
|
|
.export tosgt00, tosgta0, tosgtax
|
|
.import tosicmp, boolgt
|
|
|
|
|
|
tosgt00:
|
|
lda #$00
|
|
tosgta0:
|
|
ldx #$00
|
|
tosgtax:
|
|
jsr tosicmp ; Set the flags
|
|
jmp boolgt ; Convert to boolean
|
|
|