Norm's ENCM 369 L02 Home Page

Winter 2018

Norm Bartley

Watch here for notes from the document camera in ENA 101 following each of Norm's Winter 2018 lectures in ENCM 369 L02.

Please go to Steve Norman's ENCM 369 Home Page for 2018 course information. There, you'll find additional links to course documents, handouts, lab material, and his L01/T01/T02 lecture notes.

Norm's 2018 L02 Lecture Notes

Week 1 (Jan 8 - Jan 12)

Day Date Key Topics Notes
Mon Jan 09 An introduction to ENCM 369; organization of a simple computer. link
Wed Jan 10 Main memory, registers, memory reads/writes, sequences of machine instructions. link
Fri Jan 12 Registers and memory; MIPS processors, memory organization and access; registers. link

Week 2 (Jan 15 - Jan 19)

Day Date Key Topics Notes
Mon Jan 15 Introduction to MIPS registers, machine language, assembly language. link
Wed Jan 17 Load/Store instructions; accessing array elements in MIPS; programming loops. link
Fri Jan 20 Comparisons, left-shifting, MIPS pseudoinstructions, procedure calling. link

Week 3 (Jan 22 - Jan 26)

Day Date Key Topics Notes
Mon Jan 22 Jump instructions; leaf and non-leaf procedures; the stack; register conflicts. link
Wed Jan 24 Handling $ra, s-register, and a-register conflicts. link
Fri Jan 26 Two ways to handle a-register conflicts; local variables on the stack. link

Week 4 (Jan 29 - Feb 2)

Day Date Key Topics Notes
Mon Jan 29 Character arrays and strings; "little endian" memory organization; byte access. link
Wed Jan 31 Byte access continued; a string-copy procedure; character arrays on the stack; logic instructions. link
Fri Feb 02 Logic instructions (or, ori, lui, etc.); encoding of branch and jump instructions. link

Week 5 (Feb 05 - Feb 09)

Day Date Key Topics Notes
Mon Feb 05 Compiling and building C programs; the gcc toolchain; object and executable files. link
Wed Feb 07 The linker and relocation information; static and dynamic linking. link
Fri Feb 09 Introduction to numbers and arithmetic; signed and unsigned numbers; 2's-complement. link

Week 6 (Feb 12 - Feb 16)

Day Date Key Topics Notes
Mon Feb 13 2's-complement addition and signed overflow; the add/addu/addi/addiu instructions. link
Wed Feb 14 Unsigned addition overflow; signed and unsigned subtraction and subtraction overflow. link
Fri Feb 16 Completion of integer arithmetic; introduction to Microarchitecture, review of DFFs. link