English
Language : 

HT46R01B_10 Datasheet, PDF (58/71 Pages) Holtek Semiconductor Inc – Small Package 8-Bit OTP MCU
CALL addr
Description
Operation
Affected flag(s)
CLR [m]
Description
Operation
Affected flag(s)
CLR [m].i
Description
Operation
Affected flag(s)
CLR WDT
Description
Operation
Affected flag(s)
CLR WDT1
Description
Operation
Affected flag(s)
CLR WDT2
Description
Operation
Affected flag(s)
HT46R01B/02B/01N/02N
HT48R01B/02B/01N/02N
Subroutine call
Unconditionally calls a subroutine at the specified address. The Program Counter then in-
crements by 1 to obtain the address of the next instruction which is then pushed onto the
stack. The specified address is then loaded and the program continues execution from this
new address. As this instruction requires an additional operation, it is a two cycle instruc-
tion.
Stack ¬ Program Counter + 1
Program Counter ¬ addr
None
Clear Data Memory
Each bit of the specified Data Memory is cleared to 0.
[m] ¬ 00H
None
Clear bit of Data Memory
Bit i of the specified Data Memory is cleared to 0.
[m].i ¬ 0
None
Clear Watchdog Timer
The TO, PDF flags and the WDT are all cleared.
WDT cleared
TO ¬ 0
PDF ¬ 0
TO, PDF
Pre-clear Watchdog Timer
The TO, PDF flags and the WDT are all cleared. Note that this instruction works in conjunc-
tion with CLR WDT2 and must be executed alternately with CLR WDT2 to have effect. Re-
petitively executing this instruction without alternately executing CLR WDT2 will have no
effect.
WDT cleared
TO ¬ 0
PDF ¬ 0
TO, PDF
Pre-clear Watchdog Timer
The TO, PDF flags and the WDT are all cleared. Note that this instruction works in conjunc-
tion with CLR WDT1 and must be executed alternately with CLR WDT1 to have effect. Re-
petitively executing this instruction without alternately executing CLR WDT1 will have no
effect.
WDT cleared
TO ¬ 0
PDF ¬ 0
TO, PDF
Rev.1.10
58
February 12, 2010