Chapter 8: Instruction Set Reference
Instruction Set Reference
movi
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Pseudo-instruction:
February 2014 Altera Corporation
rB ← σ (IMMED)
movi rB, IMMED
movi r6, -30
Sign-extends the immediate value IMMED to 32 bits and writes it to rB.
The maximum allowed value of IMMED is 32767. The minimum allowed value is
–32768. To load a 32-bit constant into a register, refer to the movhi instruction.
movi is implemented as addi rB, r0, IMMED.
move signed immediate into word
Nios II Processor Reference Handbook
8–67