Texas Instruments TMS320C28x Reference Manual page 221

Dsp cpu and instruction set
Table of Contents

Advertisement

C28ADDR
C28ADDR
SYNTAX OPTIONS
C28ADDR
Note:
This instruction is an alias for the "CLRC AMODE" operation.
Operands
Description
Flags and
AMODE
Modes
Repeat
Example
; Execute the operation "VarC = VarA + VarB" written in
; C2xLP syntax:
LPADDR
.lp_amode
LDP
LACL VarA
ADDS VarB
SACL VarC
C28ADDR
.c28_amode
6-64
0101 0110 0001 0110
None
Clear the AMODE status bit in Status Register ST1, putting the device in
C27x/C28x addressing mode (see Chapter 5).
Note:
This instruction does not flush the pipeline.
The AMODE bit is cleared.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
#VarA
Clear the AMODE Status Bit
OPCODE
; Full C2xLP address compatible mode
; Tell assembler we are in C2xLP mode
; Initialize DP (low 64K only)
; ACC = VarA (ACC high = 0)
; ACC = ACC + VarB (unsigned)
; Store result into VarC
; Return to C28x address mode
; Tell assembler we are in C28x mode
OBJMODE
RPT
CYC
X
1

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