ht827a0 Holtek Semiconductor Inc., ht827a0 Datasheet - Page 40

no-image

ht827a0

Manufacturer Part Number
ht827a0
Description
8-bit Microcontroller With Voice Rom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
RLA [m]
Description
Operation
Affected flag(s)
RLC [m]
Description
Operation
Affected flag(s)
RLCA [m]
Description
Operation
Affected flag(s)
Rotate data memory to the left - then place result in the accumulator
Data in the specified data memory are rotated 1-bit to the left with bit 7 ro-
tated into bit 0, leaving the rotation result in the accumulator. The contents
of the data memory remain unchanged.
ACC.(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
ACC.0 ¬ [m].7
Rotate data memory left through carry
The contents of the specified data memory and carry flag are rotated 1-bit to
the left. Bit 7 replaces the carry bit; the original carry flag is rotated to the bit
0 position.
[m].(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
[m].0 ¬ C
C ¬ [m].7
Rotate left through carry - then place result in the accumulator
Data in the specified data memory and carry flag are rotated 1-bit left. Bit 7
replaces the carry bit and the original carry flag is rotated to the bit 0 posi-
tion. The rotation result is stored in the accumulator but the contents of the
data memory remain unchanged.
ACC.(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
ACC.0 ¬ C
C ¬ [m].7
TC2
TC2
TC2
¾
¾
¾
TC1
TC1
TC1
¾
¾
¾
TO
TO
TO
¾
¾
¾
PD
PD
PD
¾
¾
¾
40
OV
OV
OV
¾
¾
¾
¾
¾
¾
Z
Z
Z
AC
AC
AC
¾
¾
¾
¾
C
C
C
Ö
Ö
March 15, 2000
HT827A0

Related parts for ht827a0