
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of a typical programming environment, detailing the role of various components such as disk, editor, preprocessor, compiler, linker, loader, cpu, and main memory. How program source code is created in an editor and stored on a disk, and how each component contributes to the creation of an executable file.
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Disk Disk Disk Disk Editor Preprocessor Compiler Linker Loader CPU Disk Main Memory Main Memory Program source code is created in a text editor and stored on disk Preprocessor phase scans source file, processes directives, makes substitutions, etc. Compiler translates statements into object code in .obj or .o file on disk Linker phase combines object code with library code to create executable: .exe in DOS/ Windows or a.out in UNIX Operating system loader places program machine code in memory and sets CPU instruction pointer CPU executes instructions, reads and writes data, etc.