Table of Contents

Advertisement

Exceptions
Instruction Type
Instruction Fields
31
30
29
A
15
14
13

8.5.77. ret

Instruction
Operation
Assembler Syntax
Example
Description
Usage
Exceptions
Instruction Type
Instruction Fields
31
30
29
0x1f
15
14
13
0x05

8.5.78. rol

Instruction
Operation
Assembler Syntax
Example
Nios II Processor Reference Guide
220
28
27
26
25
12
11
10
9
IMM16
28
27
26
25
12
11
10
9
To read from an arbitrary register set, software can insert
the desired register set number in
executing
.
rdprs
If shadow register sets are not implemented on the Nios II
core,
is an illegal instruction.
rdprs
Supervisor-only instruction
Illegal instruction
I
= Register index of operand rA
A
= Register index of operand rB
B
= 16-bit signed immediate value
IMM16
Bit Fields
24
23
22
21
B
8
7
6
5
return from subroutine
PC
ra
ret
ret
Transfers execution to the address in
Any subroutine called by
return.
Misaligned destination address
R
None
Bit Fields
24
23
22
21
0
8
7
6
5
0
rotate left
rC
rA rotated left rB
rol rC, rA, rB
rol r6, r7, r8
8. Instruction Set Reference
NII-PRG | 2018.04.18
prior to
status.PRS
20
19
18
17
IMM16
4
3
2
1
0x38
.
ra
or
must use
call
callr
ret
20
19
18
17
0
4
3
2
1
0x3a
bit positions
4..0
continued...
16
0
to
16
0x05
0

Advertisement

Table of Contents
loading

Table of Contents