Excalibur electronic A-MNL-NIOSPROG-01.1 用户手册
58
Altera Corporation
32-Bit Instruction Set
JMP
Computed Jump
Operation:
PC
← (RA << 1)
Assembler Syntax:
JMP %rA
Example:
JMP %o7 ; return
NOP ; (delay slot)
Description:
Jump to the target-address given by (RA
<< 1). Note that the target address will
always be half-word aligned for any value of RA.
Condition Codes:
Flags: Unaffected
Delay Slot Behavior:
The instruction immediately following JMP (JMP’s delay slot) is executed after
JMP, but before the destination instruction. There are restrictions on which
JMP, 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)
page 23)
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
1
1
1
1
0
A
N
V
Z
C
−
−
−
−