Fujitsu CM71-00101-5E Server User Manual


 
139
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.45 LSL (Logical Shift to the Left Direction)
Makes a logical left shift of the word data in "Ri" by "u4" bits, stores the result to "Ri".
LSL (Logical Shift to the Left Direction)
Assembler format: LSL #u4, Ri
Operation: Ri << u4 Ri
Flag change:
N: Set when the MSB of the operation result is "1", cleared when the MSB is "0".
Z: Set when the operation result is "0", cleared otherwise.
V: Unchanged
C: Holds the bit value shifted last. Cleared when the shift amount is "0".
Execution cycles: 1 cycle
Instruction format:
Example: LSL #8, R3
NZVC
CC–C
MSB LSB
10110100 u4 Ri
R3 R3
FFFF FF00FFFF FFFF
NZVC
CCR CCR
NZVC
10010000
Instruction bit pattern : 1011 0100 1000 0011
Before execution After execution