Four steps:
- preprocessing: based on the
#directives, modify the original C program. Usually, the result of this step is a.ifile; - compile: translate
.ifile into.sfile. Assembler provides different language and different platform with a common output; - assembling: assembles the program into machine command. The output file will be a
.ofile, which is a binary file; - link