CSE 378, Autumn 2005

Machine Organization and Assembly Language

Staff:

Instructor: Larry Snyder

snyder@cs.washington.edu

584 Allen Center

Monday 3:30-4 and 5:00-5:30 or by appointment

TA: Scott Schremmer

scotths@cs.washington.edu

220 Allen Center

Tues 2-3, Wed 12:30-1:20 or by appt

TA: Adrienne Wang

axwang@cs.washington.edu

220 Allen Center

Thursday 1:30-3:30 or by appointment

Class Meetings:

 Lecture

 MWF

 2:30-3:20

 EE1 045

 Section AA

 Th

 9:30-10:20

 LOW 217

 Section AB

 Th

 12:30-1:20

 BAG 261

 

Message Board Subscribe to email List

Announcements:

Homework 5 sample solution has been posted.

Homework 5 turn in instruction: Name your program “cache.c”. Include your name in comments. Run your program with the trace provided. Include your output in a text file and name it “statistics”. Log on attu, cd to the directory which contains both files. Type the command “turnin –c cse378 cache.c statistics”. The turnin server will be open till midnight.

Homework 4 turn in instruction:

Name your file "trace.c". Please add the name AND E-MAIL ADDRESS of BOTH partners to the top of the file (in comments). Log on attu, cd to the directory which contains the file and type "turnin -c cse378 trace.c". For each partnership only one individual should submit the file.The turnin server will be available until midnight Monday. No paper copy is needed for this assignment.

The midterm is scheduled for 28 October 2005 in class

 

Reading: (cumulative)

Chapter 1 (skim), 2.1-2.9 , 4.1-4.3, 5.1-5.6, 6.1-6.6, 7.1-7.8, 8.1-8.2

Documents:

 

Handouts:

·        Problem Set 0

 

·        Problem Set 1 due 10 October

 

·        Problem Set 2 due 21 October (Friday)

 

·        Problem Set 3 due 11 November

 

·        Problem Set 4 due 21 November sample trace skeleton code solution

 

·        Problem Set 5 due 7 December sample trace solution

 

Lectures:

Lectures 1&2

Basic Introduction

PPT

PDF

Lecture 3

MIPS

PPT

PDF

Lecture 4

Instruction Encoding

PPT

PDF

Lecture 5

Instruction Encoding(cont)

PPT

PDF

Lecture 6

Procedures

PPT

PDF

Lecture 7

Single Cycle Impl I

PPT

PDF

Lecture 8

Single Cycle Impl II

PPT

PDF

Lecture 9

Single Cycle Impl III

PPT

PDF

Lecture 10

Multi Cycle Impl

PPT

PDF

Lecture 11

Multi Cycle Impl

PPT

PDF

Lecture 12

Performance

PPT

PDF

Lecture 13

Pipelining

PPT

PDF

Lecture 14

Pipelining and hazards

PPT

PDF

Lecture 15

Pipelining hazards

PPT

PDF

Lecture 16

Exceptions

PPT

PDF

Lecture 17

Cache introduction

PPT

PDF

Lecture 18

Intro to Cache

PPT

PDF

Lecture 19

Cache performance

PPT

PDF

Lecture 20

Virtual Mem Impl

PPT

PDF

 

Cache exercise

PPT

PDF

Lecture 21

I/O

PPT

PDF

Lecture 22

floating-point

PPT

PDF

Lecture 23

floating-point II

PPT

PDF



 

 

 

 

 

 

 

 

 

 

 

 

 

Section Handouts:

Section 1

Review Numbers

 

PDF

Section 2

MIPS Programming. SPIM array-sum pgm

 

PDF

Section 3

MIPS Procedure Calls

 

PDF

Section 4

Single Cycle Review

 

PPT

Section 5

Multicycle Implementation

 

PDF

Section 6

C overview. GCC and GDB Reference

 

PDF

Section 7

-- Holiday --

 

PDF

Section 8

Cache Examples

 

PDF

Section 9

-- Holiday --

 

PDF

Section 10

Virtual Memory Review

 

PDF

 

Software: