Chapter 3 Instruction Definition
RLA [m]
Description
Rotate Data Memory left with result in ACC
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into bit
0. The rotated result is stored in the Accumulator and the contents of the Data Memory re-
main unchanged.
ACC.(i+1)
¬
[m].i; (i = 0~6)
ACC.0
¬
[m].7
None
Rotate Data Memory left through Carry
The contents of the specified Data Memory and the carry flag are rotated left by 1 bit. Bit 7
replaces the Carry bit and the original carry flag is rotated into bit 0.
[m].(i+1)
¬
[m].i; (i = 0~6)
[m].0
¬
C
C
¬
[m].7
C
Rotate Data Memory left through Carry with result in ACC
Data in the specified Data Memory and the carry flag are rotated left by 1 bit. Bit 7 replaces
the Carry bit and the original carry flag is rotated into the bit 0. The rotated result is stored in
the Accumulator and the contents of the Data Memory remain unchanged.
ACC.(i+1)
¬
[m].i; (i = 0~6)
ACC.0
¬
C
C
¬
[m].7
C
Rotate Data Memory right
The contents of the specified Data Memory are rotated right by 1 bit with bit 0 rotated into
bit 7.
[m].i
¬
[m].(i+1); (i = 0~6)
[m].7
¬
[m].0
None
Rotate Data Memory right with result in ACC
Data in the specified Data Memory and the carry flag are rotated right by 1 bit with bit 0 ro-
tated into bit 7. The rotated result is stored in the Accumulator and the contents of the Data
Memory remain unchanged.
ACC.i
¬
[m].(i+1); (i = 0~6)
ACC.7
¬
[m].0
None
Operation
Affected flag(s)
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)
131
Home Index Bookmark Pages Text
Previous Next
Pages: Home Index