HT48CA3 Holtek Semiconductor Inc, HT48CA3 Datasheet - Page 26
![no-image](/images/no-image-200.jpg)
HT48CA3
Manufacturer Part Number
HT48CA3
Description
8-Bit Remote Type MCU
Manufacturer
Holtek Semiconductor Inc
Datasheet
1.HT48CA3.pdf
(36 pages)
RLC [m]
Description
Operation
Affected flag(s)
RLCA [m]
Description
Operation
Affected flag(s)
RR [m]
Description
Operation
Affected flag(s)
RRA [m]
Description
Operation
Affected flag(s)
RRC [m]
Description
Operation
Affected flag(s)
Rev. 1.40
Rotate data memory left through carry
The contents of the specified data memory and the carry flag are rotated 1 bit left. Bit 7 re-
places the carry bit; the original carry flag is rotated into the bit 0 position.
[m].(i+1)
[m].0
C
Rotate left through carry and place result in the accumulator
Data in the specified data memory and the carry flag are rotated 1 bit left. 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)
ACC.0
C
Rotate data memory right
The contents of the specified data memory are rotated 1 bit right with bit 0 rotated to bit 7.
[m].i
[m].7
Rotate right and place result in the accumulator
Data in the specified data memory is rotated 1 bit right with bit 0 rotated into bit 7, leaving
the rotated result in the accumulator. The contents of the data memory remain unchanged.
ACC.(i)
ACC.7
Rotate data memory right through carry
The contents of the specified data memory and the carry flag are together rotated 1 bit
right. Bit 0 replaces the carry bit; the original carry flag is rotated into the bit 7 position.
[m].i
[m].7
C
TC2
TC2
TC2
TC2
TC2
[m].0
[m].7
[m].7
[m].(i+1); [m].i:bit i of the data memory (i=0~6)
[m].(i+1); [m].i:bit i of the data memory (i=0~6)
C
[m].0
C
TC1
TC1
TC1
TC1
TC1
C
[m].0
[m].(i+1); [m].i:bit i of the data memory (i=0~6)
[m].i; [m].i:bit i of the data memory (i=0~6)
[m].i; [m].i:bit i of the data memory (i=0~6)
TO
TO
TO
TO
TO
PD
PD
PD
PD
PD
26
OV
OV
OV
OV
OV
Z
Z
Z
Z
Z
AC
AC
AC
AC
AC
C
C
C
C
C
HT48CA3
July 16, 2003