Arvind Guruprasad [email protected] LANGUAGE C S 2 7
Transcript of Arvind Guruprasad [email protected] LANGUAGE C S 2 7
CS271
•C
OM
PUTER
AR
CH
ITECTU
RE A
ND
ASSEM
BLYLA
NG
UA
GE
–Bruce D
’Am
brosio - 107 Dearborn, 7-5563
•dam
–A
rvind Guruprasad, guruprar@
cs.orst.edu–
Text: Tannenabum, Structured C
omputer O
rg. 4 ed.
Syllabus
•Functional organization of digital com
puters.–
Com
ponents, Logic-level, MicroA
rchitecture, ISA•
OS &
Assem
bly language–
addressing, stacks, argument passing, arithm
etic operations,decisions, m
acros, modularization, linkers and debuggers.
•Prereq: C
S 161, MTH
231•
Written H
omew
ork: weekly, 10%
•Program
ming: 10%
(2 assignments ?)
•2 Q
uizzes: 5% each
•2 M
idterms: 15%
each•
Final: 40%
Schedule
6.4 - 6.5, 7.19
710
Holiday
6.1 - 6.38
Midterm
25.6 - 5.7
75.1 - 5.5
64.2 - 4.7
5M
idterm 1
3.5, 4.14
3.1 - 3.43
22
Quiz
11
Notes
Chapter
Week
History
The Difference Engine
Ada Lovelace
ENIA
C
Von N
eumann and IA
S
IBM - 1960s
1401
7094
PDP-8
IBM 360
•Microprogram
med
•Family
•Multiprogram
The VLSI revolution
•4004
•8008
•8080
•8088
•8086
•80286
•80386
•80486
•Pentium
•PII
•PIII
•PIV
•…
Exponential Grow
th
• Machine code
• Single-thread OS
• Multi-thread
• On-line
• Graphical U
I
• Multi-m
edia
• Virtual R
eality (?)
Com
puter Organization
The layered model
Layered Machine m
odel
Digital Logic Level
•Logical A
bstractionof physical hardw
are•
Basic elements are
gates.•
How
are gatescom
posed?
MicroA
rchitecture
•R
egisters•
Datapaths
•Functional U
nits–
ALU
•First view
of entirem
achine - sort of
Instruction Set Architecture
•Instruction-visibleregisters
•Instruction-view
ofstorage
•Instruction-available operations
•Instruction w
ordform
at
ISA V
iew of C
PU (C
ont’d)
Operating System
Level
•Storagem
anagement
–M
emory
–Files
•Program
s•
Processes•
Com
munication
Assem
bly Language Level•
Symbolic language
–K
eywords
–N
ame m
anagement
–Pseudo-O
perations•
Meta-language
–m
acros
000010100001111001001100
Limit: WORD 2A: ADD R1, R0 CMP R0, Limit BLT A
Basics of software developm
ent
•Program
development environm
ent–
Assem
bler–
Linker–
Loader–
Debugger