Docsity

Software Interface - Computer Systems - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Software Interface - Computer Systems - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

CSE 410Computer Systems

Main TopicsMain

Topics

•^

The hardware / software interface– the elements of a computer system– what parts are visible to the software– instruction set architecture (ISA)– what happens inside the CPUO

-^

Operating systems– services an OS performs for an application

design of various OS components

  • design of various OS components– OS mechanisms and policies

6

Homework & ExamsHomework

& Exams

•^

≈^

6-7 assignments (50%)

g^

(^

•^

Midterm, tentatively Fri. April 30 or Mon. May 3 (20%)

-^

Final, Tue. June 8, 2:30 (25%)

-^

Participation, citizenship, etc. (5%)

“^

•^

Late policy: 4 “late days”, at most 2 on any singleassignment, counted in 24 hour chunks, otherwise nolate assignments.

g

  • Save late days for later!

8

Academic IntegrityAcademic

Integrity

•^

Policy on the course web.

Read it!

y

•^

Do your own work – always explain anyunconventional action on your part

-^

I trust you completely

-^

I have no sympathy for trust violations – nor shouldyouyou

-^

Honest work is the most important feature of auniversity. It shows respect for your colleagues andyourself.

9

Architecture and OrganizationArchitecture

and Organization

-^

Architecture (the boxes)

(^

)

  • defines elements and interfaces between layers– ISA (Instruction Set Architecture): instructions,

registers addressing

programmer’s view of the

registers, addressing – programmer s view of thehardware

-^

Organization / Implementation (inside the boxes)– components and connections– how instructions are implemented in hardware

many different organizations can implement a single

  • many different organizations can implement a single

architecture

  • One organization can support multiple architectures(!)

11

Instruction set architecturesInstruction

set architectures

Software

ISA

Hardware

ISA

•^

Interface between hardware and software– abstraction: hide HW complexity from the software

through a set of simple operations and devices add,

mul,

and,

lw,

...

12

Architecture FamiliesArchitecture

Families

•^

IBM 360, 370, … (the first computer family)

,^

,^

(^

p

y)

•^

PowerPC 601, 603, …

-^

DEC VAX, PDP-

•^

Intel x86: 286, 386, 486, Pentium, P4, Core…

-^

Intel IA64 Itanium

S

•^

MIPS R2000, R3000, R4000, R5000, ...

•^

SUN Sparc

-^

ARM family

-^

ARM family

14

MIPSMIPS •^

In this class, we’ll use the MIPS instruction set architecture (ISA) to illustrate

t^

i^

bl^

l^

d^

hi^

i^

ti

concepts in assembly language and machine organization^ —

Of course, the concepts are not MIPS-specific — MIPS is just convenient because it is real, yet simple (unlike x86)

-^

The MIPS ISA is still used in many places today Primarily in embeddedThe MIPS ISA is still used in many places today. Primarily in embeddedsystems, like:^ —

Various routers from Cisco — Game machines like the Nintendo 64 and Sony Playstation 2

15

How to Succeed in CSE 410How

to Succeed in CSE 410

-^

Remember the big picture– What are we trying to accomplish, and why?

-^

Read the textbooks– They’re clear well-organized and well-written

They re clear, well organized, and well written(particularly P&H). Work through the examples and trysome exercises on your own. Read the “Real Stuff”and “Historical Perspective” sections.

p

-^

Talk to each other– You can learn a lot from other students, both by asking

and answering questionsand answering questions.

-^

Help us help you– Come to lectures and office hours. Use the discussion

board Ask lots of questions! Check out the web pagesboard. Ask lots of questions! Check out the web pages.

17