Nios® II Processor Reference Guide

ID 683836
Date 8/28/2023
Public
Document Table of Contents

8.5.62. movia

Instruction move immediate address into word
Operation

rB ←  label

Assembler Syntax

movia rB, label

Example

movia r6, function_address

Description

Writes the address of label to rB.

Pseudo-instruction

movia is implemented as:

orhi rB, r0, %hiadj(label)

addi rB, rB, %lo(label)