Nios® II Processor Reference Guide

ID 683836
Date 10/22/2020
Document Table of Contents Initialization with Shadow Register Sets

At initialization, system software must carry out the following tasks to ensure correct software functioning with shadow register sets:
  • After the gp register is initialized in the normal register set, copy it to all shadow register sets, to ensure that all code can correctly address the small data sections.
  • Copy the zero register from the normal register set to all shadow register sets, using the wrprs instruction.

Did you find the information on this page useful?

Characters remaining:

Feedback Message