Nios II Classic Processor Reference Guide

ID 683620
Date 10/28/2016
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)