2.2.49 (1) ROTXL (B)
ROTXL (ROTate with eXtend carry Left)
Rotate through Carry
Operation
Rd (left rotation through carry bit)
→
Rd
Assembly-Language Format
ROTXL.B
Rd
Operand Size
Byte
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the result is negative; otherwise
cleared to 0.
Z: Set to 1 if the result is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Receives the previous value in bit 7.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
0
↕
Description
This instruction rotates the bits in an 8-bit register Rd (destination register) one bit to the left
through the carry flag. The carry flag is rotated into the least significant bit (bit 0). The most
significant bit rotates into the carry flag.
Available Registers
Rd: R0L to R7L, R0H to R7H
Operand Format and Number of States Required for Execution
Notes
MSB
LSB
C
b
7
b
0
. . . . . .
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
ROTXL.B
Rd
1
2
0
rd
2
No. of
States
Addressing
Mode
Mnemonic
Operands
153