Texas Instruments TMS320C28x Reference Manual page 224

Dsp cpu and instruction set
Table of Contents

Advertisement

CLRC AMODE
SYNTAX OPTIONS
CLRC AMODE
AMODE
Operands
Description
AMODE The AMODE bit is cleared.
Flags and
Modes
Repeat
Example
;
Execute the operation "VarC = VarA + VarB" written in C2xLP
; syntax:
SETC AMODE
.lp_amode
LDP
LACL VarA
ADDS VarB
SACL VarC
CLRC AMODE
.c28_amode
0101 0110 0001 0110
Status bit
Clear the AMODE status bit in Status Register ST1, enabling C27x/C28x
addressing (see Chapter 5).
Note: This instruction does not flush the pipeline.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
#VarA
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
CLRC AMODE
Clear the AMODE Bit
OBJMODE
RPT
CYC
X
1
6-67

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