Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
PROGRAMMING
TIMERSTimer 0 & 1 Registers
Accessed as low byte and high byte
¾The low byte register is called TL0/TL1 and ¾The high byte register is called TH0/TH1¾Accessed like any other register
MOV TL0,#4FHMOV R5,TH0TH0
TL0
D0D1
D2D3
D4D5
D6D7
D8D9
D10D11
D12D13
D14D15
TH1
TL1
D0D1
D2D3
D4D5
D6D7
D8D9
D10D11
D12D13
D14D15