When we want to execute a high level source program in disk, the following steps are performed:-
(i) Load the program from hard disk to primary memory.
(ii) Compiler is used to translate the program. Compiler generates an executable file and store it in disk.
(iii) Loader is then activated to load the program into primary memory at appropriate locations.
(iv) Linker is then activated to link various modules of the program.
(v) Program control is transferred to appropriate location within the program so that execution can start.
0 Comments