What is the purpose of each file generated by CodeWarrior when an assembly langu
ID: 1806397 • Letter: W
Question
What is the purpose of each file generated by CodeWarrior when an assembly language program creates an executable file?Explanation / Answer
The CodeWarrior IDE simplifies the assembly of your assembly source code. To assemble and link all the files in the project, select the project in the CodeWarrior Projects view and select Project > Build Project from the IDE menu bar. The files generated after assembling and linking the project are placed into the subfolder in the project directory. The files include: .dbg This file contains symbolic debugging information. .abs This is the final executable file. .map This Linker map file lists the names, load addresses, and lengths of all segments in your program. In addition, it lists the names and load addresses of any groups in the program, the start address, and messages about any errors the Linker encounters. Also, when you build a project, the project's source code files assembles into object ( *.obj) files. The object files are generated and placed into the Sources subfolder in the project directory. The path of the object file created on assembling the main.asm file is: Sourcesmain.obj The Wizard does not generate default assembler-output listing files. If you want such listing files generated, follow the steps in topic Generating Listing Files. You can add the *.lst files to the project window for easier viewing. This way you do not have to continually hunt for them with your editor.Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.