Altera Nios II User Manual page 268

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

8–88
slli
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Exceptions:
Instruction Type:
Instruction Fields:
31
30
29
28
27
26
25
A
Nios II Processor Reference Handbook
rC ← rA << IMM5
slli rC, rA, IMM5
slli r6, r7, 3
Shifts rA left by the number of bits specified in IMM5 (inserting zeroes), and then stores the
result in rC.
slli performs the << operation of the C programming language.
None
R
A = Register index of operand rA
C = Register index of operand rC
IMM5 = 5-bit unsigned immediate value
24
23
22
21
20
19
18
17
0
C
shift left logical immediate
16
15
14
13
12
11
10
9
0x12
Chapter 8: Instruction Set Reference
Instruction Set Reference
8
7
6
5
4
3
2
IMM5
0x3a
February 2014 Altera Corporation
1
0

Advertisement

Table of Contents
loading

Table of Contents