9/15/2011 5Components of a Computer all kinds of computer Desktop, server, embedded... A Safe Place for Data Volatile main memory Loses instructions and data when power off Non-volati
Trang 2Introduction
Trang 39/15/2011 3
The Computer Revolution
Trang 4Classes of Computers
Hidden as components of systems
Trang 59/15/2011 5
Components of a Computer
all kinds of computer
Desktop, server, embedded
Trang 79/15/2011 7
Anatomy of a Mouse
LED illuminates desktop
Small low-res camera
Basic image processor
Looks for x, y
movement
Buttons & wheel
Trang 8Opening the Box
Trang 99/15/2011 9
The Processor
Trang 10A Safe Place for Data
Volatile main memory
Loses instructions and data when power off
Non-volatile secondary memory
Magnetic disk
Flash memory
Optical disk (CDROM, DVD)
Trang 11Disk
Tape
Instr Operands Blocks
Pages
Files
Staging Xfer Unit
prog./compiler 1-8 bytes
cache cntl 32-64 bytes
OS 4K-8K bytes
user/operator Mbytes
Blocks
Trang 12Networks
Trang 131975 Integrated circuit (IC) 900
1995 Very large scale IC (VLSI) 2,400,000
2005 Ultra large scale IC 6,200,000,000
DRAM capacity
Trang 14Inside structure
Trang 159/15/2011 15
Abstractions
Trang 16What is Computer Architecture?
Easy Answer
Computer Architecture =
Instruction Set Architecture +
Machine Organization
Trang 179/15/2011 17
The Instruction Set:
a Critical Interface
instruction set software
hardware
Trang 18Instruction Set Architecture
A very important abstraction:
interface between hardware and low-level software
standardizes instructions, machine language bit patterns, etc.
advantage: allows different implementations of the same
architecture
disadvantage: sometimes prevents adding new innovations
Modern instruction set architectures:
80x86/Pentium/K6, PowerPC, DEC Alpha, MIPS, SPARC, HP
Trang 199/15/2011 19
What You Will Learn
machine language
performance
Trang 20Below Your Program
Managing memory and storage
Scheduling tasks & sharing resources
Trang 21Binary digits (bits)
Encoded instructions and data
swap(int v[], int k) {int temp;
Binary machine language program (for MIPS)
C compiler
Assembler
Assembly language program (for MIPS)
High-level language program (in C)
Trang 22Quiz?