Specifications

Table Of Contents
8–70 Altera Corporation
Nios II Processor Reference Handbook October 2007
movui
movui
move unsigned immediate into word
Operation:
rB
(0x0000 : IMMED)
Assembler Syntax:
movui rB, IMMED
Example:
movui r6, 100
Description: Zero-extends the immediate value IMMED to 32 bits and writes it to rB.
Usage: The maximum allowed value of IMMED is 65535. The minimum allowed value is 0. To
load a 32-bit constant into a register, see the
movhi instruction.
Pseudoinstruction:
movui is implemented as ori rB, r0, IMMED.