CHAPTER 11 INSTRUCTION SET
272
User’s Manual U10676EJ3V0UM
11.4.5 Accumulator manipulation instructions
RORC A
Function:
CY
←
A
0
, A
n-1
←
A
n
, A
3
←
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
0
0
1
0
After
execution
RORC A
.
.
.
.
NOT A
Function:
A
←
A
Takes 1’s complement of the A register (4-bit accumulator) (inverts the bits of the accumulator).