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

下载
页码 122
62
Altera Corporation
32-Bit Instruction Set
LRET
Equivalent to JMP %o7 
Operation:
PC
← (%o7 << 1)
Assembler Syntax:
LRET
Example:
LRET ; return
NOP ; (delay slot)
Description:
Jump to the target-address given by (%o7 
<< 1). Note that the target address will 
always be half-word aligned for any value of %o7.
Condition Codes:
Flags: Unaffected
Delay Slot Behavior:
The instruction immediately following LRET (LRET’s delay slot) is executed after 
LRET, but before the destination instruction. There are restrictions on which 
instructions may be used as a delay slot. (Refer to “Branch Delay Slots” on 
page 23)
Instruction Format:
Rw
Instruction Fields:
None (always uses %o7)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
N
V
Z
C