Texas Instruments TMS320C28x Reference Manual page 252

Dsp cpu and instruction set
Table of Contents

Advertisement

FFC XAR7,22bit
SYNTAX OPTIONS
FFC XAR7,22bit
Operands
XAR7
22bit
Description
Flags and
Modes
Repeat
Example
;
Fast function call of FuncA:
FFC
FuncA:
LB
Auxiliary register XAR7
22-bit program-address (0x00 0000 to 0x3F FFFF range)
Fast function call. The return PC value is stored into the XAR7 register and
the 22-bit immediate destination address is loaded into the PC:
XAR7(21:0) = PC + 2;
XAR7(31:22) = 0;
PC = 22 bit;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
XAR7,FuncA
.
.
.
.
*XAR7
OPCODE
0000 0000 11CC CCCC
CCCC CCCC CCCC CCCC
; Call FuncA, return address in XAR7
; Function A:
; Return: branch to address in XAR7
FFC XAR7,22bit
Fast Function Call
OBJMODE
RPT
CYC
X
4
6-95

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF