C– – Compiler
5-39
Code Development Tools
The syntax of the call is:
extern int FAR PASCAL LINK_MAIN (LPSTR source_file,LPSTR
exe_file);
.....
ierr=LINK_MAIN (source_file,exe_file);
Where:
-
source_file
is the project file name, which contains the names of the
files to be linked.
-
exe_file
is the name of the linked executable file.
-
ierr
is the total number of errors returned by the linker.
If errors occur during link, the error information is placed in a file with extension
.rer
, with the same name as the executable file.
5.9
C– – Compiler
The MSP50P614/MSP50C614 C– – compiler is implemented as a Windows
dynamic linked library (DLL). The current name of the DLL file is
cmm6xx.dll
.
It can be invoked from any Windows program, provided that the user included
the file called
cmm6xx.lib
in the Windows project.
The syntax of the call is:
extern int FAR PASCAL CMM_MAIN (LPSTR source_file,short *warn,
struct cmm_input *,struct error_struct *);
/* ..... */
#define MAX_LEN 256
LPSTR source_file;
short w,i;
struct error_struct{
short pass;
/* pass where error was detected */
short type;
/* type of error (error, warning */
short error_msg;
/* error message number */
short file_number;
/* file number in object file table */
long line_number;
/* line number in file where error occurred */
char info[MAXIDE1];
/* character string containing some */
/*information on the error */
};
struct cmm_input{
short heap_st;
/* start of heap */
short stack_st;
/* start of stack */
Содержание MSP50C614
Страница 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Страница 6: ...vi ...
Страница 92: ...3 22 ...
Страница 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Страница 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Страница 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Страница 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Страница 368: ...5 68 ...
Страница 394: ...7 12 ...
Страница 400: ...Architecture A 6 Figure A 3 MSP50C605 100 Pin PJM Package MSP50C605 100 PIN PJM PLASTIC PACKAGE 1 80 81 100 30 31 50 51 ...
Страница 402: ...A 8 ...
Страница 412: ...Packaging B 10 ...
Страница 414: ...C 2 C 1 MSP50C605 Data Sheet This appendix contains the data sheet for the MSP50C605 mixed signal pro cessor ...