Programming Environment: From Text Editor to CPU Execution, Study notes of Computer Science

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

Pre 2010

Uploaded on 03/11/2009

koofers-user-413
koofers-user-413 🇺🇸

8 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Typical Programming Environment
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.

Partial preview of the text

Download Programming Environment: From Text Editor to CPU Execution and more Study notes Computer Science in PDF only on Docsity!

Typical Programming Environment

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.