3) Rotxl (L) - Hitachi H8/300H Series Programming Manual

Table of Contents

Advertisement

2.2.49 (3) ROTXL (L)

ROTXL (ROTate with eXtend carry Left)
Operation
ERd (left rotation through carry bit) → ERd
Assembly-Language Format
ROTXL.L ERd
Operand Size
Longword
Description
This instruction rotates the bits in a 32-bit register ERd (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.
C
Available Registers
ERd: ER0 to ER7
Operand Format and Number of States Required for Execution
Addressing
Mnemonic
Mode
Register direct
ROTXL.L
Notes
MSB
. . . . . .
b
31
Operands
1st byte
ERd
1
Condition Code
I
UI H
— — — —
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 31.
LSB
b
0
Instruction Format
2nd byte
3rd byte
2
3
0 erd
155
Rotate through Carry
U
N
Z
V
C
0
No. of
States
4th byte
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents