Rotxl (Rotate With Extend Carry Left) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

ROTXL (ROTate with eXtend carry Left)

<Operation>
Rd (rotated with carry left) → Rd
<Assembly-Language Format>
ROTXL Rd
<Examples>
ROTXL R1H
<Operand Size>
Byte
<Description>
This instruction rotates an 8-bit general register one bit to the left through the carry flag. The
carry flag is rotated into the least significant bit of the register. The most significant bit rotates
into the carry flag.
The operation is shown schematically below.
C
<Instruction Formats>
Addressing
mode
Register direct
MSB
Bit 7
Mnem.
Operands
ROTXL
Rd
<Condition Code>
I
— — — —
I: Previous value remains unchanged.
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: Cleared to "0."
C: Receives the previous value in bit 7.
LSB
Bit 0
Instruction code
1st byte
2nd byte
1
2
0
100
H
N
Z
3rd byte
4th byte
rd
ROTXL
V
C
0
No. of
states
2

Advertisement

Table of Contents
loading

Table of Contents