Specifications

Table Of Contents
8–76 Altera Corporation
Nios II Processor Reference Handbook October 2007
nextpc
nextpc
get address of following instruction
Operation:
rC
PC + 4
Assembler Syntax:
nextpc rC
Example:
nextpc r6
Description: Stores the address of the next instruction to register rC.
Usage:
A relocatable code fragment can use
nextpc to calculate the address of its data
segment.
nextpc is the only way to access the PC directly.
Instruction Type: R
Instruction Fields: C = Register index of operand rC
313029282726252423222120191817161514131211109876543210
00C0x1c00x3a