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

下载
页码 122
Altera Corporation
83
32323232
32-Bit Instruction Set
2
3
2
-B
it In
st
ru
ctio
n
Se
t
SEXT16
Sign Extend 16-bit Value
Operation:
RA
← σ(
h0
RA)
Assembler Syntax:
SEXT16 %rA 
Example:
SEXT16 %g3 ; convert signed short to signed long
Description:
Replace bits 16..31 of RA with bit 15 of RA.
Condition Codes:
Flags: Unaffected
Instruction Format:
Rw
Instruction Fields:
A = Register index of operand RA
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
1
1
 
0
0
1
0
0
A
N
V
Z
C