Reference Tables for C2xLP Code Migration Topics
10. Code Generation Tools and Syntax Differences (Continued)
C28x
C2xLP
Migration topic
9
Number radix usage
x .set 09 ;Assembler
;accepts
;this as
;decimal 9
x .set 9
Avoid leading zeros, else the assem-
bler will be use this as octal number.
10
Order of precedence in ex-
pressions – Syntax change
Expressions in assembly state-
ments do not require parenthesis.
x .set A<<B = C>>D
Expressions in assembly statements
do require parenthesis.
x .set (A<<B = C>>D)
11
Tools Directives
.mmregs ; reserved register use
.port
.globl
not applicable
not applicable
.global
12
Macros
Useful in coding style
Useful in coding style
All C2xLP Macros are not directly
used
Convert them individually to 28x
mode.
13
Assembler options
−
v2xx
−
m20,
−
v28
Содержание 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...