Question: When a compiler generates the binary code for a source program written in a high-level programming language, it does not know where and how the

When a compiler generates the binary code for a source program written in a high-level programming language, it does not know where and how the binary code will be loaded by the operating system. Why not?

When a compiler generates the binary code for a source program written

Ex. 1.11_ When a compiler generates the binary code for a source pro- gram written in a high-level programming language, it does not know where and how the binary code will be loaded by the operating system. Why not? In order to generate a binary code, the compiler, however, must make certain assumptions on where and how the binary code will be loaded in the main program by the operating system. What are the reasonable assumptions that are made by most of compilers in terms of where and how? Ex. 1.12 _ What happens when we double-click a program icon? Or type a command at the prompt? Describe all the steps happening in OS until we see the application on the screen

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!