System Programming

Lecture Notes

Chapter 1 Background , SIC Machine Architecture , Mona Lisa Smile 9/16, 9/23, 9/30
Chapter 2 Assemblers: 2.1 Basic Assembler Functions , 2.2 Machine-Dependent Assembler Features 10/7, 10/14
Quiz #1 ,Quiz #1a 10/21
Mid-term [Answer] 10/28
Quiz #2 ,Quiz #2a
2.3 Machine-Independent Assembler Features
11/11
Quiz #3 ,Quiz #3a
Calling a Subroutine ,Calling a Subroutine with Arguments
11/18
2.3.4 Program Block 2.3.5 Control Sections 11/25
2.4 One-Pass Assemblers 12/2
Chapter 3 Loaders and Linkers
3.1 Absolute Loader
12/9
Quiz #4 ,Answer ,Quiz #4a
3.2 Program Linking
12/16-12/23
Mid-Term #2 ,Mid-Term #2a 12/30
3.3 Automatic Library Search
3.4 Loader Design Options
1/6
Final Exam 1/13

Homeworks

  1. Homework 1: 9x9 Multiplication Table
    Due: Oct. 28th
  2. Homework 2: Assember - Pass 1
    Due: Nov. 24th
  3. Homework 3: Assember - Pass 2
    Due: Dec. 1st
  4. Homework 4: Single-Pass Assember
    Due: Dec. 8th
  5. Homework 5: SIC/XE Assembler
    Extended deadline: 1PM, Jan. 5th, 2006
    在原訂時限 (Dec. 29) 前交作業者,滿分 100. 延後交作業者,滿分 85.

Goals of this course

  1. Know tools
  2. Learn concepts (graduate school entrance exam)
  3. Write programs

Tools on Unix

  1. DLL
  2. Dbm
  3. Ncurse
  4. Cflow
  5. Nroff
  6. Diff
  7. Make
  8. Syslog
  9. Gettext
  10. gdb with forward-backward step (hu

Related Link