
Computer Software and Programming I-73
High-level
source
program
on disk
Land
Source
program
in
memory
Complier
translates
whole
program
Machine-
code
program
on disk
Machine-
code
program
Execute
Figure 4.7 Working of a Compiler
High-level
source
program
on disk
Land
Run
Source
program
in
memory
Interpreter
translates
one
instruction
Machine-
code
instruction
Execute
Figure 4.8 Working of an Interpreter
M04_ITL-ESL4791_01_SE_C04.indd 73 12/22/2012 4:53:50 PM