2 ; clock_t clock (void);
8 .forceimport ticktock ; make sure that tickcount changes
9 .importzp tickcount, sreg
12 ; Make the process clock start at zero.
22 ; ------------------------------------------------------------------------
25 ; This function might be interrupted while it is reading the several bytes of
26 ; the clock. They are read again if that happens. (We do not want to stop
27 ; interrupts because that might cause glitches in interrupt-driven graphics
38 bne _clock ; clock changed; reread it