HT47C20 Holtek Semiconductor Inc, HT47C20 Datasheet - Page 49

no-image

HT47C20

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

Related parts for HT47C20