Excalibur electronic A-MNL-NIOSPROG-01.1 DJ Equipment User Manual


 
66 Altera Corporation
32-Bit Instruction Set
LSRI
Logical Shift Right Immediate
Operation:
RA (RA >> IMM5), zero-fill from left
Assembler Syntax: LSRI %rA,IMM5
Example: LSRI %g1,6 ; Right-shift %g1 by 6 bits
Description: The value in RA is shifted-right by the number of bits indicated by IMM5. The
result is left-filled with zero.
Condition Codes: Flags: Unaffected
Instruction Format: Ri5
Instruction Fields: A = Register index of RA operand
IMM5 = 5-bit immediate value
1514131211109876543210
001001 IMM5 A
NVZC
−−−−