Altera Nios II User Manual page 206

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

8–26
callr
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Exceptions:
Instruction Type:
Instruction Fields:
31
30
29
28
27
26
25
A
Nios II Processor Reference Handbook
ra ← PC + 4
PC ← rA
callr rA
callr r6
Saves the address of the next instruction in the return address register, and transfers execution
to the address contained in register rA.
callr is used to dereference C-language function pointers.
Misaligned destination address
R
A = Register index of operand rA
24
23
22
21
20
19
18
17
0
0x1f
call subroutine in register
16
15
14
13
12
11
10
9
0x1d
Chapter 8: Instruction Set Reference
Instruction Set Reference
8
7
6
5
4
3
2
1
0
0x3a
February 2014 Altera Corporation
0

Advertisement

Table of Contents
loading

Table of Contents