Download MCUez ASSEMBLER USER`S MANUAL
Transcript
Freescale Semiconductor, Inc. FILES 4.3.1 Object Files After a successful assembling session, the Macro Assembler generates an object file containing the target code as well as some debugging information. This file is written to the directory given in the environment variable OBJPATH. If that variable contains more than one path, the object file is written in the first directory given. If this variable is not set, the object file is written in the directory the source file was found. Object files always get the extension .o. Freescale Semiconductor, Inc... 4.3.2 Absolute Files When an application is encoded in a single module and all the sections are absolute sections, the user can decide to generate an absolute file instead of an object file. This file is written to the directory given in the environment variable ABSPATH. If that variable contains more than one path, the absolute file is written in the first directory given. If this variable is not set, the absolute file is written in the directory the source file was found. Absolute files always get the extension .abs. 4.3.3 Motorola S Files When an application is encoded in a single module and all the sections are absolute sections, the user can decide to generate an absolute file instead of an object file. In that case, a Motorola S record file is generated at the same time. This file can be burnt into an EPROM. It contains information stored in all READ_ONLY sections in the application. The extension for the generated Motorola S record file depends on the setting from the variable SRECORD. • If SRECORD = S1, the Motorola S record file gets the extension .s1. • If SRECORD = S2, the Motorola S record file gets the extension .s2. • If SRECORD = S3, the Motorola S record file gets the extension .s3. • If SRECORD is not set, the Motorola S record file gets the extension .sx. This file is written to the directory given in the environment variable ABSPATH. If that variable contains more than one path, the motorola S file is written in the first directory given. If this variable is not set, the file is written in the directory the source file was found. 4.3.4 Listing Files After a successful assembling session, the Macro Assembler generates a listing file containing each assembly instruction with its associated hexadecimal code. This file is generated as soon as the option -L is activated, even when the macro assembler generates an absolute file. This file is written to the directory given in the environment variable TEXTPATH. If that variable contains more than one path, the listing file is written in the first directory given. If this variable is not set, the listing file is written in the directory the source file was found. Listing files always get the extension .lst. The Assembler Listing File chapter in this manual describes the format of this file. 4-2 For More Information On This Product, Go to: www.freescale.com MCUEZASM08/D