Specifications

Table Of Contents
8–88 Altera Corporation
Nios II Processor Reference Handbook October 2007
slli
slli
shift left logical immediate
Operation:
rC
rA << IMM5
Assembler Syntax:
slli rC, rA, IMM5
Example:
slli r6, r7, 3
Description: Shifts rA left by the number of bits specified in IMM5 (inserting zeroes), and then stores
the result in rC.
Usage:
slli performs the << operation of the C programming language.
Instruction Type: R
Instruction Fields: A = Register index of operand rA
C = Register index of operand rC
IMM5 = 5-bit unsigned immediate value
313029282726252423222120191817161514131211109876543210
A 0 C 0x12 IMM5 0x3a