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


 
48 Altera Corporation
32-Bit Instruction Set
EXT16s
Half-Word Extract (Static)
Operation:
RA (0x00.00 :
hn
RA) where n = IMM1
Assembler Syntax: EXT16s %rA,IMM1
Example: EXT16s %L3,1 ; %L3 gets upper short int of itself
Description: Extracts one of the two half-words in RA. The half-word to-be-extracted is chosen
by the one-bit immediate value IMM1. The selected half-word is written into bits
15..0 of RA, and the more significant bits 31..16 are set to zero.
Condition Codes: Flags: Unaffected
Instruction Format: Ri1u
Instruction Fields: A = Register index of operand RA
IMM1 = 1-bit immediate value
1514131211109876 543210
011101001IMM10 A
NVZC
−−−−