ht827a0 Holtek Semiconductor Inc., ht827a0 Datasheet - Page 42

no-image

ht827a0

Manufacturer Part Number
ht827a0
Description
8-bit Microcontroller With Voice Rom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
RRCA [m]
Description
Operation
Affected flag(s)
SBC A,[m]
Description
Operation
Affected flag(s)
SBCM A,[m]
Description
Operation
Affected flag(s)
Rotate to the right through carry - then place result in the accumulator
Data of the specified data memory and carry flag are rotated one bit right. Bit
0 replaces the carry bit and the original carry flag is rotated to the bit 7 posi-
tion. The rotation result is stored in the accumulator. The contents of the
data memory remain unchanged.
ACC.i ¬ [m].(i+1); [m].i:bit i of the data memory (i=0~6)
ACC.7 ¬ C
C ¬ [m].0
Subtract data memory and carry from the accumulator
The contents of the specified data memory and the complement of the carry
flag are subtracted from the accumulator, leaving the result in the accumula-
tor.
ACC ¬ ACC+[m]+C
Subtract data memory and carry from the accumulator
The contents of the specified data memory and the complement of the carry
flag are subtracted from the accumulator, leaving the result in the data mem-
ory.
[m] ¬ACC+[m]+C
TC2
TC2
TC2
¾
¾
¾
TC1
TC1
TC1
¾
¾
¾
TO
TO
TO
¾
¾
¾
PD
PD
PD
¾
¾
¾
42
OV
OV
OV
¾
Ö
Ö
¾
Z
Z
Z
Ö
Ö
AC
AC
AC
¾
Ö
Ö
C
C
C
Ö
Ö
Ö
March 15, 2000
HT827A0

Related parts for ht827a0