]> git.sur5r.net Git - cc65/blob - libsrc/runtime/lt.s
Made the code that logs indirect-goto referals be a little more efficient.
[cc65] / libsrc / runtime / lt.s
1 ;
2 ; Ullrich von Bassewitz, 06.08.1998
3 ;
4 ; CC65 runtime: Compare < for signed ints
5 ;
6
7         .export         toslt00, toslta0, tosltax
8         .import         tosicmp, boollt
9
10 toslt00:
11         lda     #$00
12 toslta0:
13         ldx     #$00
14 tosltax:
15         jsr     tosicmp         ; Set flags
16         jmp     boollt          ; Convert to boolean
17