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