Specifications

Table Of Contents
Altera Corporation 8–27
October 2007 Nios II Processor Reference Handbook
call
call
call subroutine
Operation:
ra
PC + 4
PC
(PC
31..28
:
IMM26 × 4)
Assembler Syntax:
call label
Example:
call write_char
Description:
Saves the address of the next instruction in register
ra, and transfers execution to the
instruction at address (PC
31..28
: IMM26 × 4).
Usage:
call can transfer execution anywhere within the 256 MByte range determined by
PC
31..28.
The Nios II GNU linker does not automatically handle cases in which the
address is out of this range.
Instruction Type: J
Instruction Fields: IMM26 = 26-bit unsigned immediate value
313029282726252423222120191817161514131211109876543210
IMM26 0