Computer organization
Components:
Processor (CPU): executes instructions
Memory: stores programs and data
Long-term storage: keeps data even when computer is off
Input/output (I/O): provides data to process, stores results
Textbook view:
Datapath Processor
Control
Memory (RAM, HDD)
Input
Output
Our focus:
Processor
Today's technology: millions of transistors and circuits
In order to comprehend what's going on, we need …
Abstraction
Hides levels of complexity
Easier to see the "big picture"
Example: Swap program