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


 
Altera Corporation 41
3232323232-Bit Instruction Set
2
32-Bit Instruction
Set
BGEN
Bit Generate
Operation: RA 2
IMM5
Assembler Syntax: BGEN %rA,IMM5
Example: BGEN %g7,6 ; set %g7 to 64
Description: Sets RA to an integer power-of-two with the exponent given by IMM5. This is
equivalent to setting a single bit in RA, and clearing the rest.
Condition Codes: Flags: Unaffected
Instruction Format: Ri5
Instruction Fields: A = Register index of RA operand
IMM5 = 5-bit immediate value
1514131211109876543210
010010 IMM5 A
NVZC
−−−−