Altera Nios II User Manual page 249

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

Chapter 8: Instruction Set Reference
Instruction Set Reference
movui
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Pseudo-instruction:
February 2014 Altera Corporation
rB ← (0x0000 : IMMED)
movui rB, IMMED
movui r6, 100
Zero-extends the immediate value IMMED to 32 bits and writes it to rB.
The maximum allowed value of IMMED is 65535. The minimum allowed value is 0. To load a
32-bit constant into a register, refer to the movhi instruction.
movui is implemented as ori rB, r0, IMMED.
move unsigned immediate into word
Nios II Processor Reference Handbook
8–69

Advertisement

Table of Contents
loading

Table of Contents