FUJITSU F2MC-8L F202RA User Manual
Page 219
Advertising

203
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
XCHW
A,T
INCW
A
; Old value + 1
CMPW
A
BNE
READ16
; Jumps to re-read when a mismatch is detected.
RET16
RET
; Restarts the count operation and begins counting 10,000
pulses.
;------------------------Interrupt program----------------------------------------------------------------------------
WARI
CLRB
TIF0
; Clears the interrupt request flag.
PUSHW
A
XCHW
A,T
PUSHW
A
:
User processing
:
POPW
A
XCHW
A,T
POPW
A
RETI
ENDS
; --------------------------------------------------------------------------------------------------------------------
END
Advertising
This manual is related to the following products: