Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Organization & Compilation Process

Similar presentations


Presentation on theme: "Computer Organization & Compilation Process"— Presentation transcript:

1 Computer Organization & Compilation Process
CSCE 121 J. Michael Moore

2 Simplified Model Input Processor Output Abstraction Memory

3 Memory Usually stored in RAM Composed of ones and zeroes
Address for each byte (group of 8 bits) Physical Address Logical Address Starts at zero

4 Memory Memory Layout Stack and heap grow toward each other. Code
Static Data Stack and heap grow toward each other. Heap / Free Store Heap / Free Store Stack Stack

5 Compilation Process Executable File Compile Source Code
Starting with source code (e.g. C++) and converting it into machine code that the computer can run. When using our IDE, the process appears like this: Compile Source Code Executable File

6 Actual Process Source Code Assembler File Object Code File Assembler
Compiler Assembler File Assembler Object Code File Linker Executable File Expanded Source Code C++ Preprocessor #included header files Object Code for Library Functions


Download ppt "Computer Organization & Compilation Process"

Similar presentations


Ads by Google