Rev. 1.60 224 August 20, 2019 Rev. 1.60 225 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
RLA [m]
Rotate Data Memory left with result in ACC
Description The contents of the specied 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 remain
unchanged.
Operation ACC.(i+1) ← [m].i; (i=0~6)
ACC.0 ← [m].7
Affected ag(s) None
RLC [m]
Rotate Data Memory left through Carry
Description The contents of the specied Data Memory and the carry ag are rotated left by 1 bit. Bit 7
replaces the Carry bit and the original carry ag is rotated into bit 0.
Operation [m].(i+1) ← [m].i; (i=0~6)
[m].0 ← C
C ← [m].7
Affected ag(s) C
RLCA [m]
Rotate Data Memory left through Carry with result in ACC
Description Data in the specied Data Memory and the carry ag are rotated left by 1 bit. Bit 7 replaces the
Carry bit and the original carry ag is rotated into the bit 0. The rotated result is stored in the
Accumulator and the contents of the Data Memory remain unchanged.
Operation ACC.(i+1) ← [m].i; (i=0~6)
ACC.0 ← C
C ← [m].7
Affected ag(s) C
RR [m]
Rotate Data Memory right
Description The contents of the specied Data Memory are rotated right by 1 bit with bit 0 rotated into bit 7.
Operation [m].i ← [m].(i+1); (i=0~6)
[m].7 ← [m].0
Affected ag(s) None
RRA [m]
Rotate Data Memory right with result in ACC
Description Data in the specied Data Memory is rotated right by 1 bit with bit 0
rotated into bit 7. The rotated result is stored in the Accumulator and the contents of the
Data Memory remain unchanged.
Operation ACC.i ← [m].(i+1); (i=0~6)
ACC.7 ← [m].0
Affected ag(s) None
RRC [m]
Rotate Data Memory right through Carry
Description The contents of the specied Data Memory and the carry ag are rotated right by 1 bit. Bit 0
replaces the Carry bit and the original carry ag is rotated into bit 7.
Operation [m].i ← [m].(i+1); (i=0~6)
[m].7 ← C
C ← [m].0
Affected ag(s) C