RLA [m]
Rotate data memory to the left - then place result in the accumulator
Description
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.
Operation
ACC.(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
ACC.0 ¬ [m].7
Affected flag(s)
TC2
¾
RLC [m]
Rotate data memory left through carry
Description
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.
Operation
[m].(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
[m].0 ¬ C
C ¬ [m].7
Affected flag(s)
TC2
¾
RLCA [m]
Rotate left through carry - then place result in the accumulator
Description
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.
Operation
ACC.(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
ACC.0 ¬ C
C ¬ [m].7
Affected flag(s)
TC2
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
40
HT827A0
Z
AC
C
¾
¾
¾
Z
AC
C
¾
¾
Ö
Z
AC
C
¾
¾
Ö
March 15, 2000
Need help?
Do you have a question about the HT827A0 and is the answer not in the manual?