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


 
40 Altera Corporation
32-Bit Instruction Set
ASRI
Arithmetic Shift Right Immediate
Operation: RA (RA >> IMM5), fill from left with RA[31]
Assembler Syntax: ASRI %rA,IMM5
Example: ASRI %i5,6 ; shift %i5 right 6 bits
Description: Arithmetically shift right the contents of RA by IMM5 bits. If IMM5 is 31, RA will be
zero or negative one depending on the original sign of RA.
Condition Codes: Flags: Unaffected
Instruction Format: Ri5
Instruction Fields: A = Register index of RA operand
IMM5 = 5-bit immediate value
1514131211109876543210
001011 IMM5 A
NVZC
−−−−