HT47C20 Holtek Semiconductor Inc, HT47C20 Datasheet - Page 48

no-image

HT47C20

Manufacturer Part Number
HT47C20
Description
8-Bit Microcontroller
Manufacturer
Holtek Semiconductor Inc
Datasheet
RLC [m]
Description
Operation
Affected flag(s)
RLCA [m]
Description
Operation
Affected flag(s)
RR [m]
Description
Operation
Affected flag(s)
Rotate data memory left through carry
The contents of the specified data memory and the carry flag are together
rotated left one bit. Bit 7 replaces the carry bit; the original carry flag is
rotated into 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 and place result in accumulator
Data in the specified data memory and the carry flag are together ro-
tated left one bit. Bit 7 replaces the carry bit and the original carry flag is
rotated into bit 0 position. The rotated 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
Rotate data memory right
The contents of the specified data memory are rotated right one bit with
bit 0 rotated to bit 7.
[m].i ¬ [m].(i+1); [m].i:bit i of the data memory (i=0-6)
[m].7 ¬ [m].0
TC2
TC2
TC2
¾
¾
¾
TC1
TC1
TC1
¾
¾
¾
TO
TO
TO
¾
¾
¾
48
PD
PD
PD
¾
¾
¾
OV
OV
OV
¾
¾
¾
¾
¾
¾
Z
Z
Z
AC
AC
AC
¾
¾
¾
¾
C
C
C
Ö
Ö
January 18, 2000
HT47C20

Related parts for HT47C20