C2Xlp Instructions And C28X Equivalent Instructions; E.2 C2Xlp Vs. C28X Mnemonics - Texas Instruments TMS320C28x Reference Manual

Dsp cpu and instruction set
Table of Contents

Advertisement

E.2 C2xLP vs. C28x Mnemonics

Table E−2. C2xLP Instructions and C28x Equivalent Instructions
Instruc-
Mnemonic
tion
ABS
ADD
loc16[,0]
ADD
loc16,1..15
ADD
loc16,16
ADD
#8bit
ADD
#16bit[,0..15]
ADDC
loc16
ADDS
loc16
ADDT
loc16
ADRK
#8bit
AND
loc16
AND
#16bit,16
AND
#16bit[,0..15]
APAC
B
pma
B
pma,*,ARn
B
pma,*ind
B
pma,*ind,ARn
True/False
Table E−2 lists the C2xLP instructions with the C28x equivalent syntax. The
C28x assembler will accept either the C2xLP syntax or the equivalent C28x
syntax. The disassembler will decode and display the C28x syntax.
The C2xLP cycle count numbers shown are for zero wait-state internal
memory, where n equals the number of repetitions (i.e., if an instruction is re-
peated, using the RPT instruction for repeatable instructions, n times it is exe-
cuted n+1 times).
C2xLP
Cycles Size
n+1
n+1
n+1
n+1
1
2
n+1
n+1
n+1
1
n+1
2
2
n+1
4
4
4
4
Instruc-
Mnemonic
tion
16
ABS
ACC
16
ADD
ACC,loc16 {<<0}
16
ADD
ACC,loc16 << 1..15
16
ADD
ACC,loc16 << 16
16
ADDB
ACC,#8bit
32
ADD
ACC,#16bit {<<0..15}
16
ADDCU
ACC,loc16
16
ADDU
ACC,loc16
16
ADD
ACC,loc16 << T
16
ADRK
#8bit
16
AND
ACC,loc16
32
AND
ACC,#16bit<<16
32
AND
ACC,loc16 {<< 0..15}
16
ADDL
ACC,P<<PM
32
XB
pma,UNC
32
XB
pma,*,ARPn
32
NOP
*ind
XB
pma, UNC
32
NOP
*ind
XB
pma,*,ARPn
C2xLP Instruction Set Compatibility
Condition Tests on Flags
C28x
Cycles Size
1
n+1
n+1
n+1
1
1
1
n+1
n+1
1
n+1
1
1
n+1
7
4
8
5
16
16
32
16
16
32
16
16
32
16
16
32
32
16
32
32
32
48
E-3

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?

Table of Contents

Save PDF