English
Language : 

HTG2150_02 Datasheet, PDF (34/38 Pages) Holtek Semiconductor Inc – 8-Bit 320 Pixel Dot Matrix LCD MCU Series
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
HTG2150
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 fol-
lowing 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, [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
instruction is skipped and the result is stored in the accumulator. The data memory re-
mains unchanged. If the result is 0, the following instruction, fetched during the current in-
struction 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 execution,
is discarded and a dummy cycle is replaced to get the proper instruction (2 cycles). Other-
wise proceed with the next instruction (1 cycle).
Skip if [m].i¹0
TC2 TC1 TO PD OV Z AC C
¾ ¾ ¾¾¾¾¾¾
Rev. 1.30
34
May 21, 2002