; clock_t clock (void);
;
- .export _clock
- .importzp sreg
+ .export _clock
+ .import RDTIM
+ .importzp sreg
- .include "cbm.inc"
-.proc _clock
+.proc _clock
- lda #0 ; Byte 3 is always zero
- sta sreg+1
- jsr RDTIM
- sty sreg
- rts ; Don't set CC, this has no meaning here
+ lda #0 ; Byte 3 is always zero
+ sta sreg+1
+ jsr RDTIM
+ sty sreg
+ rts
.endproc