This is quite complicated and usually involves two steps:
- The assembler reads the assembly code, computes the corresponding machine code and writes it to the object file along with some other information that changes depending on the format of the object file you use.
- , .
, ; , . , , , , , , (, GNU- () GNU , GNU- (ld) , , )
ELF 4 SV ABI, . COFF PE, ; , -