]> git.sur5r.net Git - cc65/blob - libsrc/pce/clock.s
_tickcount -> tickcount
[cc65] / libsrc / pce / clock.s
1 ;
2 ; clock_t clock (void);
3 ;
4
5         .include "pce.inc"
6
7         .export         _clock
8         .importzp       sreg
9 ;;        .importzp       tickcount
10
11 .proc   _clock
12
13         lda tickcount+3
14         sta sreg+1
15         lda tickcount+2
16         sta sreg
17         ldx tickcount+1
18         lda tickcount
19         rts
20
21 .endproc