Table of Contents

Advertisement

Example
Description
Exceptions
Instruction Type
Instruction Fields
31
30
29
A
15
14
13
0x0b

8.5.81. sll

Instruction
Operation
Assembler Syntax
Example
Description
Exceptions
Instruction Type
Instruction Fields
31
30
29
A
15
14
13
0x13

8.5.82. slli

Instruction
Operation
Assembler Syntax
Nios II Processor Reference Guide
222
28
27
26
25
12
11
10
9
28
27
26
25
12
11
10
9
ror r6, r7, r8
Rotates rA right by the number of bits specified in rB
stores the result in rC. The bits that shift out of the register
rotate into the most-significant bit positions. Bits 31– 5 of
rB are ignored.
None
R
= Register index of operand rA
A
= Register index of operand rB
B
= Register index of operand rC
C
Bit Fields
24
23
22
21
B
8
7
6
5
0
shift left logical
rC
rA << (rB
)
4..0
sll rC, rA, rB
sll r6, r7, r8
Shifts rA left by the number of bits specified in rB
(inserting zeroes), and then stores the result in rC.
performs the << operation of the C programming language.
None
R
= Register index of operand rA
A
= Register index of operand rB
B
= Register index of operand rC
C
Bit Fields
24
23
22
21
B
8
7
6
5
0
shift left logical immediate
rC
rA << IMM5
slli rC, rA, IMM5
8. Instruction Set Reference
NII-PRG | 2018.04.18
4..0
20
19
18
17
C
4
3
2
1
0x3a
4..0
sll
20
19
18
17
C
4
3
2
1
0x3a
continued...
and
16
0x0b
0
16
0x13
0

Advertisement

Table of Contents
loading

Table of Contents