Software Emulator
5-32
5.6.8
Known Differences, Incompatibilities, Restrictions
-
Include statements in assembly language files must enclose the file name
in double quotes.
-
REF/DEF statements in assembly language files should be replaced with
EXTERNAL/GLOBAL statements, but the old REF/DEF are still
supported.
-
There is no default type for variables in the C– – compiler. The user should
always use
int or char.
-
Typedef is not supported in C– –
-
To use external functions in C– –, put a function prototype in the file that
calls the external function.
-
To use external variables in C– –, declare them as
extern. Note that only
the file containing the
main routine can contain global variable
declarations.
-
If
cmm6xx.asm
is included in a project file, the resulting linked file will have
a start vector address (address 0x7FFF) of
_main1
, corresponding to a
line in
cmm6xx.asm
that forces a jump to
_main0
. The C– – compiler au-
tomatically defines a
_main0
label just prior to forcing a call to
_main
, if
there is a C– – file containing the main routine. If not, it is up to the user
to define a
_main0
label in one of the assembly language routines: this
will be the starting point of the program.
Summary of Contents for MSP50C614
Page 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 92: ...3 22 ...
Page 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Page 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Page 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Page 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Page 368: ...5 68 ...
Page 394: ...7 12 ...
Page 402: ...A 8 ...
Page 412: ...Packaging B 10 ...