Excalibur electronic A-MNL-NIOSPROG-01.1 用户手册

下载
页码 122
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
0
0
1
IMM5
A
N
V
Z
C