HT47C20 Holtek Semiconductor Inc, HT47C20 Datasheet - Page 51

no-image

HT47C20

Manufacturer Part Number
HT47C20
Description
8-Bit Microcontroller
Manufacturer
Holtek Semiconductor Inc
Datasheet
SDZA [m]
Description
Operation
Affected flag(s)
SET [m]
Description
Operation
Affected flag(s)
SET [m].i
Description
Operation
Affected flag(s)
SIZ [m]
Description
Operation
Affected flag(s)
Decrement data memory and place result in ACC, skip if zero
The contents of the specified data memory are decremented by one. If the
result is zero, the next instruction is skipped. The result is stored in the
accumulator but the data memory remains unchanged. If the result is
zero ,the following instruction, fetched during the current instruction ex-
ecution, is discarded and a dummy cycle is replaced to get the proper in-
struction, that makes a 2-cycle instruction. Otherwise proceed with the
next instruction.
Skip if ([m]-1)=0, ACC ¬ ([m]-1)
Set data memory
Each bit of the specified data memory is set to one.
[m] ¬ FFH
Set bit of data memory
Bit i of the specified data memory is set to one.
[m].i ¬ 1
Skip if increment data memory is zero
The contents of the specified data memory is incremented by one. If the
result is zero, the following instruction, fetched during the current in-
struction execution, is discarded and a dummy cycle is replaced to get the
proper instruction. This is a 2-cycle instruction. Otherwise proceed with
the next instruction.
Skip if ([m]+1)=0, [m] ¬ ([m]+1)
TC2
TC2
TC2
TC2
¾
¾
¾
¾
TC1
TC1
TC1
TC1
¾
¾
¾
¾
TO
TO
TO
TO
¾
¾
¾
¾
51
PD
PD
PD
PD
¾
¾
¾
¾
OV
OV
OV
OV
¾
¾
¾
¾
¾
¾
¾
¾
Z
Z
Z
Z
AC
AC
AC
AC
¾
¾
¾
¾
¾
¾
¾
¾
C
C
C
C
January 18, 2000
HT47C20

Related parts for HT47C20