Question: We have seen, earlier in the course, that compiler converts a high-level program to assembly language, and then assembler converts it from assembly language to

We have seen, earlier in the course, that compiler converts a high-level program to assembly language, and then assembler converts it from assembly language to machine language. If this is so, why do we still need to link the object files generated by an assembler before execution? In other words, why cant we directly execute the object code files generated by the assembler?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!