106
2.2.41 ROTL (rotate left)
Operation
Rd (rotated left)
→
Rd
Assembly-Language Format
ROTL Rd
Operand Size
Byte
Condition Code
I
H
N
Z
V
C
—
—
—
—
∆
∆
0
—
I:
Previous value remains unchanged.
H:
Previous value remains unchanged.
N:
Set to 1 when the result is negative; otherwise cleared to 0.
Z:
Set to 1 when the result is zero; otherwise cleared to 0.
V:
Cleared to 0.
C:
Receives the previous value in bit 7.
Description
This instruction rotates an 8-bit general register one bit to the left. The most significant bit is
rotated to the least significant bit, and also copied to the carry flag.
The operation is shown schematically below.
C Bit 7 Bit 0
MSB LSB
Instruction Formats and Number of Execution States
Instruction code
Addressing
mode
Mnem.
Operands
1 st byte
2nd byte
3rd byte
4th byte
No of
states
Register direct ROTL
Rd
1
2
8
rd
2
Содержание H8/300L Series
Страница 1: ...H8 300L Series Programming Manual ...
Страница 6: ...iv ...
Страница 8: ...2 ...
Страница 11: ......
Страница 14: ......
Страница 46: ......
Страница 48: ......
Страница 60: ......
Страница 83: ......
Страница 116: ......
Страница 150: ...144 ...
Страница 151: ......
Страница 156: ...150 ...