Reference Tables for C2xLP Code Migration Topics
Table D−10. Code Generation Tools and Syntax Differences (Continued)
Migration topic
9
Number radix usage
10
Order of precedence in ex-
pressions – Syntax change
11
Tools Directives
12
Macros
13
Assembler options
C2xLP
x
.set 09
;Assembler
;accepts
;this as
;decimal 9
Expressions in assembly state-
ments do not require parenthesis.
x
.set A<<B = C>>D
.mmregs ; reserved register use
.port
.globl
Useful in coding style
−v2xx
C28x
x .set 9
Avoid leading zeros, else the assem-
bler will be use this as octal number.
Expressions in assembly statements
do require parenthesis.
x
.set (A<<B = C>>D)
not applicable
not applicable
.global
Useful in coding style
All C2xLP Macros are not directly
used
Convert them individually to 28x
mode.
−m20, −v28
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?