CHAPTER 11 INSTRUCTION SET
272 User’s Manual U10676EJ3V0UM

11.4.5 Accumulator manipulation instructions

RORC A

Function: CY A0, An-1 An, A3 CY (n = 1-3)

Rotates the contents of the A register (4-bit accumulator) 1 bit to the left with the carry flag.

0
CY
0
3
1
2
0
1
1
0
A
Before
execution
1 0010
After
execution
RORC A
.
.
.
.
NOT A

Function: A A

Takes 1s complement of the A register (4-bit accumulator) (inverts the bits of the accumulator).