ht827a0 Holtek Semiconductor Inc., ht827a0 Datasheet - Page 45

no-image

ht827a0

Manufacturer Part Number
ht827a0
Description
8-bit Microcontroller With Voice Rom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
SUB A,[m]
Description
Operation
Affected flag(s)
SUBM A,[m]
Description
Operation
Affected flag(s)
SUB A,x
Description
Operation
Affected flag(s)
SWAP [m]
Description
Operation
Affected flag(s)
Subtract data memory from the accumulator
The specified data memory is subtracted from the contents of the accumula-
tor, leaving the result in the accumulator.
ACC ¬ ACC+[m]+1
Subtract data memory from the accumulator
The specified data memory is subtracted from the contents of the accumula-
tor, leaving the result in the data memory.
[m] ¬ ACC+[m]+1
Subtract immediate data from the accumulator
The immediate data specified by the code is subtracted from the contents of
the accumulator, leaving the result in the accumulator.
ACC ¬ ACC+x+1
Swap nibbles within the data memory
The low-order and high-order nibbles of the specified data memory (one of the
data memory) are interchanged.
[m].3~[m].0 « [m].7~[m].4
TC2
TC2
TC2
TC2
¾
¾
¾
¾
TC1
TC1
TC1
TC1
¾
¾
¾
¾
TO
TO
TO
TO
¾
¾
¾
¾
PD
PD
PD
PD
¾
¾
¾
¾
45
OV
OV
OV
OV
¾
Ö
Ö
Ö
¾
Z
Z
Z
Z
Ö
Ö
Ö
AC
AC
AC
AC
¾
Ö
Ö
Ö
¾
C
C
C
C
Ö
Ö
Ö
March 15, 2000
HT827A0

Related parts for ht827a0