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


 
Altera Corporation 49
3232323232-Bit Instruction Set
2
32-Bit Instruction
Set
EXT8d
Byte-Extract (Dynamic)
Operation:
RA (0x00.00.00 :
bn
RA) where n = RB[1..0]
Assembler Syntax: EXT8d %rA,%rB
Example: LD %g4,[%i0] ; get 32 bits from [%i0 & 0xFF.FF.FF.FC]
EXT8d %g4,%i0 ; extract the particular byte at %i0
Description: Extracts one of the four bytes in RA. The byte to-be-extracted is chosen by bits
1..0 of RB (byte 3 being the most-significant byte of RA). The selected byte is
written into bits 7..0 of RA, and the more-significant bits 31..8 are set to zero.
Condition Codes: Flags: Unaffected
Instruction Format: RR
Instruction Fields: A = Register index of operand RA
B = Register index of operand RB
1514131211109876543210
010011 B A
NVZC
−−−−