BASIC TIMER and TIMER 0S3F80JB

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

Page 255
Image 255
Samsung S3F80JB manual ULT,NO200MSSET Bits, T0OVER Iret