Arvind Guruprasad [email protected] LANGUAGE C S 2 7

21
CS271 COMPUTER ARCHITECTURE AND ASSEMBLY LANGUAGE Bruce D’Ambrosio - 107 Dearborn, 7-5563 [email protected] Arvind Guruprasad, [email protected] Text: Tannenabum, Structured Computer Org. 4 ed.

Transcript of Arvind Guruprasad [email protected] LANGUAGE C S 2 7

Page 1: Arvind Guruprasad dambrosi@cs.orst.edu 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

[email protected]

–A

rvind Guruprasad, guruprar@

cs.orst.edu–

Text: Tannenabum, Structured C

omputer O

rg. 4 ed.

Page 2: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

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%

Page 3: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

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

Page 4: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

History

Page 5: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

The Difference Engine

Ada Lovelace

Page 6: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

ENIA

C

Page 7: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Von N

eumann and IA

S

Page 8: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

IBM - 1960s

1401

7094

Page 9: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

PDP-8

Page 10: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

IBM 360

•Microprogram

med

•Family

•Multiprogram

Page 11: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

The VLSI revolution

•4004

•8008

•8080

•8088

•8086

•80286

•80386

•80486

•Pentium

•PII

•PIII

•PIV

•…

Page 12: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Exponential Grow

th

• Machine code

• Single-thread OS

• Multi-thread

• On-line

• Graphical U

I

• Multi-m

edia

• Virtual R

eality (?)

Page 13: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Com

puter Organization

The layered model

Page 14: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Layered Machine m

odel

Page 15: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Digital Logic Level

•Logical A

bstractionof physical hardw

are•

Basic elements are

gates.•

How

are gatescom

posed?

Page 16: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

MicroA

rchitecture

•R

egisters•

Datapaths

•Functional U

nits–

ALU

•First view

of entirem

achine - sort of

Page 17: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Instruction Set Architecture

•Instruction-visibleregisters

•Instruction-view

ofstorage

•Instruction-available operations

•Instruction w

ordform

at

Page 18: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

ISA V

iew of C

PU (C

ont’d)

Page 19: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Operating System

Level

•Storagem

anagement

–M

emory

–Files

•Program

s•

Processes•

Com

munication

Page 20: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

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

Page 21: Arvind Guruprasad dambrosi@cs.orst.edu LANGUAGE C S 2 7

Basics of software developm

ent

•Program

development environm

ent–

Assem

bler–

Linker–

Loader–

Debugger