Computer Science, asked by mruna3920, 1 year ago

Types of file generated on cross compilation

Answers

Answered by D33PANWAR1
1
Once the compile button is clicked, myFile.asm is given to “Assembler Program”. This program produces 2 files, 1). myFile.lst and 2). myFile.obj

.lst file: This file contains all the opcodes and the addresses as well as the errors that are detected by the assembler.

.obj file : This is the object file.

Now, the myFile.obj is given to the “Linker Program” with the other object file files to be linked. The linker again gives out 2 files 1). myFile.abs and 2). myFile.map

.map : This file contains the information about how much memory is used, details regarding the stack etc.

.abs file: This is absolute file, which is passed on to further processes of compiling.

Now the myFile.abs is given to “OH Program” (This is the program which converts the Object to Hex.). Finally the the OH Program outputs the file called “myFile.exe”. This can loaded for execution.

Similar questions