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

下载
页码 122
84
Altera Corporation
32-Bit Instruction Set
SEXT8
Sign Extend 8-bit Value
Operation:
RA
← σ(
b0
RA)
Assembler Syntax:
SEXT8 %rA
Example:
SEXT8 %o3 ; convert signed byte to signed long
Description:
Replace bits 8..31 of RA with bit 7 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
0
1
1
A
N
V
Z
C