Download DESIGN & DATA ACQUISITION at 3
Transcript
V.7.2 Compiling and Linking operations The Pascal 86 compiler is very powerful and efficient, it generates a file with the same name than the module compiled, but with the LST extension. The interface module can not be compiled alone, nevertheless it is compiled with all the other modules. The Linker is also a powerful tool to link all the Object files, as well Pascal or Assembly object files. However, the linking can not be done without using the libraries required. The files P86RNO.LIB and P86RNl.LIB are both always required, when using real number, the file 87NULL.LIB is necessary and the use of several modules involves the file RTNULL.LIB. After the linking task, the object file has to be located: the DATA segment, the STACK segment, the CODE segment and the starting address must be defined. Then, the located file can be converted in an HEX file to be put in an EPROM or to be downloaded from the development system. 39