A Hierarchy of Languages: Basic Concepts Computer Organization and Assembly Language Slide 1/43
A Hierarchy of Languages: Basic Concepts Computer Organization and Assembly Language Slide 1/43
High-Level Language: D = A * B + 10
Source Object
File Assembler File
Link
Source Object
Assembler Libraries
File File
Operating System
Level 3
Instruction Set
Architecture Level 2
Microarchitecture Level 1
Each level
Digital Logic hides the
Level 0 details of the
level below it
ALU CU clock
control bus
address bus
Address Space is
the set of memory
locations (bytes) that
can be addressed
100
Processor-Memory
Performance Gap:
(grows 50% per year)
10
1989
1991
1995
1997
1981
1982
1983
1984
1986
1987
1988
1990
1992
1993
1994
1996
1998
1999
1980
2000
❖ 1980 – No cache in microprocessor
❖ 1995 – Two-level cache on microprocessor
Basic Concepts Computer Organization and Assembly Language slide 33/43
The Need for a Memory Hierarchy
❖ Widening (expand) speed gap between CPU and main memory
Processor operation takes less than 1 ns
Main memory requires more than 50 ns to access
Bigger
❖ Main Memory (1 – 2 GB) Faster Memory Bus
Access time: 50 – 70 ns Memory
Actuator
Recording area
Track 2
Track 1
Seek Time: head movement to the Track 0