]> git.sur5r.net Git - cc65/blob - lt.s
1b681f588b391b669fc963f72481e4b195a129f7
[cc65] / 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