ht827a0 Holtek Semiconductor Inc., ht827a0 Datasheet - Page 43

no-image

ht827a0

Manufacturer Part Number
ht827a0
Description
8-bit Microcontroller With Voice Rom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
SDZ [m]
Description
Operation
Affected flag(s)
SDZA [m]
Description
Operation
Affected flag(s)
SET [m]
Description
Operation
Affected flag(s)
SET [m].i
Description
Operation
Affected flag(s)
Skip if decrement data memory is zero
The contents of the specified data memory are decremented by one. If the re-
sult is zero, the next instruction is skipped and the following instruction,
fetched during the current instruction execution, is discarded and a dummy
cycle is replaced to get a proper instruction. This makes a 2-cycle instruction.
Otherwise proceed to the next instruction.
Skip if ([m]-1)=0, [m] ¬ ([m]-1)
Decrement data memory - then place result in ACC, skip if zero
The contents of the specified data memory are decremented by one. If the re-
sult is zero, the next instruction is skipped. The result is stored in the accu-
mulator but the data memory remains unchanged. If the result is zero, the
following instruction, fetched during the current instruction execution, is
discarded and a dummy cycle is replaced to get a proper instruction, making
a 2-cycle instruction. Otherwise proceed to the next instruction.
Skip if ([m]-1)=0, ACC ¬ ([m]-1)
Set data memory
Each bit of the specified data memory is set to 1
[m] ¬ FFH
Set bit of data memory
Bit ²i² of the specified data memory is set to 1.
[m].i ¬ 1
TC2
TC2
TC2
TC2
¾
¾
¾
¾
TC1
TC1
TC1
TC1
¾
¾
¾
¾
TO
TO
TO
TO
¾
¾
¾
¾
PD
PD
PD
PD
¾
¾
¾
¾
43
OV
OV
OV
OV
¾
¾
¾
¾
¾
¾
¾
¾
Z
Z
Z
Z
AC
AC
AC
AC
¾
¾
¾
¾
¾
¾
¾
¾
C
C
C
C
March 15, 2000
HT827A0

Related parts for ht827a0