English
Language : 

HT46R23 Datasheet, PDF (38/42 Pages) Holtek Semiconductor Inc – 8-Bit OTP Microcontroller
SET [m]
Description
Operation
Affected flag(s)
SET [m].i
Description
Operation
Affected flag(s)
SIZ [m]
Description
Operation
Affected flag(s)
SIZA [m]
Description
Operation
Affected flag(s)
SNZ [m].i
Description
Operation
Affected flag(s)
Set data memory.
Each bit of the specified data memory is set to 1.
[m] ¬ FFH
HT46R23
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Set bit of data memory.
Bit ²i² of the specified data memory is set to 1.
[m].i ¬ 1
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Skip if increment data memory is 0.
The contents of the specified data memory are incremented by 1. If the result is 0, the follow-
ing instruction, fetched during the current instruction execution, is discarded and a dummy cy-
cle is replaced to get the proper instruction (2 cycles). Otherwise proceed with the next
instruction (1 cycle).
Skip if ([m]+1)=0, [m] ¬ ([m]+1)
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Increment data memory and place result in ACC, skip if 0.
The contents of the specified data memory are incremented by 1. If the result is 0, the next in-
struction is skipped and the result is stored in the accumulator. The data memory remains un-
changed. If the result is 0, the following instruction, fetched during the current instruction
execution, is discarded and a dummy cycle is replaced to get the proper instruction (2 cycles).
Otherwise proceed with the next instruction (1 cycle).
Skip if ([m]+1)=0, ACC ¬ ([m]+1)
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Skip if bit ²i² of the data memory is not 0.
If bit ²i² of the specified data memory is not 0, the next instruction is skipped. If bit ²i² of the
data memory is not 0, the following instruction, fetched during the current instruction execu-
tion, is discarded and a dummy cycle is replaced to get the proper instruction (2 cycles). Oth-
erwise proceed with the next instruction (1 cycle).
Skip if [m].i¹0
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Rev. 1.30
38
August 17, 2001