IPR-NIOS Altera, IPR-NIOS Datasheet - Page 271

no-image

IPR-NIOS

Manufacturer Part Number
IPR-NIOS
Description
IP NIOS II MEGACORE RENEW
Manufacturer
Altera
Type
MegaCorer
Datasheet

Specifications of IPR-NIOS

License
Renewal License
Lead Free Status / RoHS Status
Not applicable / Not applicable
Chapter 8: Instruction Set Reference
Instruction Set Reference
roli
December 2010 Altera Corporation
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Exceptions:
Instruction Type:
Instruction Fields:
31
30
29
A
28
27
26
25
24
0
rC ← rA rotated left IMM5 bit positions
roli rC, rA, IMM5
roli r6, r7, 3
Rotates rA left by the number of bits specified in IMM5 and stores the result in rC. The bits that
shift out of the register rotate into the least-significant bit positions.
In addition to the rotate-left operation, roli can be used to implement a rotate-right operation.
Rotating left by (32 – IMM5) bits is the equivalent of rotating right by IMM5 bits.
None
R
A = Register index of operand rA
C = Register index of operand rC
IMM5 = 5-bit unsigned immediate value
23
22
21
20
19
C
18
17
16
15
14
0x02
13
12
11
10
9
IMM5
8
Nios II Processor Reference Handbook
rotate left immediate
7
6
5
4
0x3a
3
2
1
8–85
0

Related parts for IPR-NIOS