BASIC TIMER and TIMER 0 S3F80P5_UM_ REV1.00
PROGRAMMING TIP — Programming Timer 0 (Continued)
CP R0,#32H ; 50 × 4 = 200 ms
JR ULT,NO_200MS_SET
BITS R1.2 ; Bit setting (61.2H)
NO_200MS_SET:
LD T0CON,#42H ; Clear pending bit
POP RP0 ; Restore register pointer 0 value
T0OVER IRET ; Return from interrupt service routine
10-12