Condition Tests on Flags
E-3
C2xLP Instruction Set Compatibility
E.2 C2xLP vs. C28x Mnemonics
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).
Table E
−
2. C2xLP Instructions and C28x Equivalent Instructions
C2xLP
C28x
Instruc-
tion
Mnemonic
Cycles Size Instruc-
tion
Mnemonic
Cycles Size
ABS
n+1
16
ABS
ACC
1
16
ADD
loc16[,0]
n+1
16
ADD
ACC,loc16 {<<0}
n+1
16
ADD
loc16,1..15
n+1
16
ADD
ACC,loc16 << 1..15
n+1
32
ADD
loc16,16
n+1
16
ADD
ACC,loc16 << 16
n+1
16
ADD
#8bit
1
16
ADDB
ACC,#8bit
1
16
ADD
#16bit[,0..15]
2
32
ADD
ACC,#16bit {<<0..15}
1
32
ADDC
loc16
n+1
16
ADDCU
ACC,loc16
1
16
ADDS
loc16
n+1
16
ADDU
ACC,loc16
n+1
16
ADDT
loc16
n+1
16
ADD
ACC,loc16 << T
n+1
32
ADRK
#8bit
1
16
ADRK
#8bit
1
16
AND
loc16
n+1
16
AND
ACC,loc16
n+1
16
AND
#16bit,16
2
32
AND
ACC,#16bit<<16
1
32
AND
#16bit[,0..15]
2
32
AND
ACC,loc16 {<< 0..15}
1
32
APAC
n+1
16
ADDL
ACC,P<<PM
n+1
16
B
pma
4
32
XB
pma,UNC
7
32
B
pma,*,ARn
4
32
XB
pma,*,ARPn
4
32
B
pma,*ind
4
32
NOP
XB
*ind
pma, UNC
8
32
B
pma,*ind,ARn
4
32
NOP
XB
*ind
pma,*,ARPn
5
48
†
True/False
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...