Assembler
5-33
Code Development Tools
5.7
Assembler
The MSP50P614/MSP50C614 assembler is implemented as a Windows DLL
(Dynamic Linked Library).
5.7.1
Assembler DLL
The current name of the DLL file is
asm6xx.dll
. It can be invoked from any
Windows program, provided that the user included the file called
asm6xx.lib
in the Windows project.
The syntax of the call is:
extern int FAR PASCAL ASM_MAIN (LPSTR source_file, short *warn,short *err-
pass1,struct error_struct *,LPSTR include_list);
/* .... */
short i,w,pass1_error;
LPSTR source_file;
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 error_struct error_list[MAX_ERRORS];
/* ..... */
i=ASM_MAIN(source_file,&w,&pass1_error,error_list,include_list);
Where:
-
source file is the assembly source file name.
-
w
is the number of warnings returned by the assembler.
-
pass1_error
is the number of errors returned in pass 1 of the assembler.
-
error_list
is a structure containing information about the errors detected by the assembler.
-
include_list
is the list of directories to search first for include files (separated by semicolons).
-
i
is the total number of errors returned by the assembler.
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 ...