Princeton University
Computer Science Dept.

Computer Science 217
Intro to Programming Systems

Perry Cook

Schedule and Readings

Spring 1999


General Information | Schedule and Readings | What's New?

CS217 Lecture Schedule 2
From Midterm Through End of Semester

Jump here for handouts in various formats.

Week 7: IS OVER!!

3/24 SPARC Architecture

SPARC registers; instruction formats; addressing modes

3/26 Arithmetic Instructions; data movement; synthetic instructions; floating point

Condition Codes; carry and overflow; branches; control transfer
Register Windows; window management; frames; C calling conventions

Precept: Assembly Programming Intro
Assignment: Implementing "Tail" in SPARC Assembler
Due Monday, April 5, 11:59pm
Readings:
    • Paul Ch. 1, 2.1-4, 8, 9
    • Paul 4.6-4.12, 11.5-6, 11.10

Week 8: IS OVER!!

3/30 Instruction pipelining; delay slots; annul bit
Procedure call instructions; call/return instructions; indirect calls; stacks
4/1 QUIZ #4

Operating systems; privileged instructions; modes; virtual resources; traps
Exception Handling
Precept: More Assembly Programming
Assignment: Still Implementing "Tail" in SPARC Assembler
Due Monday, April 5, 11:59pm
ALSO NEW ASSIGNMENT:
Implementing "Printf" in SPARC Assembler
Due Monday, April 12, 11:59pm
Readings:
  • Paul 2.5, 2.8-2.11, Chapters 5 and 7.

Week 9:

4/6
System calls for Input/Output; Implementing Standard I/O
Exceptions
4/8 UNIX Systems calls for processes;
UNIX Systems calls for signals and interrupts

The Compiltion Pipeline: Assembly
Precept:More Assembly Programming
Assignment: Still Implementing "Printf" in SPARC Assembler
Due Monday, April 12, 11:59pm
Plus New Assignment: BigNum Calculator
see also bignum.h
Due Monday, April 26, 11:59pm
Readings:
  • Kernighan and Pike, Sections 7.4-7.5
  • Paul, Section 9.1-9.7, Chapter 12, Section 10.9
  • Hanson Section 2.4, Chapter 4
  • Harbison and Steele Chapter 15

Week 10:

4/13 Complilation Pipeline:
Compiling, Assembling, Linking, Loading
4/15 No Class!! Finish Primality, Think about BigNums
Precept: Bignum Calculator, Modules
Assignment:
BigNum Calculator
see also bignum.h
Due Monday, April 26, 11:59pm
Readings:
  • Kernighan and Pike, Sections 7.4-7.5
  • Paul, Section 9.1-9.7

Week 11:

4/20 Big Quiz!!
(20 minutes, 15 points)
Intro to Object Oriented Programming
4/22 Introduction to Objective C and C++
Intro to JAVA
Precept: TBA
Assignment: Still Big Num
see also bignum.h
Due Monday, April 26, 11:59pm

Week 12:

4/27 Intro to Object Oriented Programming
Introduction to C++
4/29 Dynamic Binding
Intro to JAVA
Precept: TBA
Assignment:
Battleship!!
Due Dean's Date, Tuesday, May 11, 4:59pm, NOTE TIME!