CS273, Computer Organization and Programming
- Lecture Notes 1 (text)
Intro to Assembly and Machine Languages
- First program covered next (see the source code,
and the assembler listing, tri.l);
assembler directives; opcodes and operands; direct, immediate,
extended addressing modes
- Lecture Notes 2 (text) Unsigned Binary,
Hex, and Octal numbers
- Lecture Notes 3 (html)
- Lecture Notes 4 (text)
Indexed Addressing Mode
- Lecture Notes 5 (text)
Representation of signed binary numbers, and relative addressing mode.
Assembler listing for more practice.
- Lecture Notes 6 (text)
Overflow, condition codes, and branch instructions
- Lecture Notes 7 (text)
- Lecture Notes 8 (text)
Stacks and subroutines
- Covered along with the programs in the following lecture notes:
call-by-reference and call-by-value parameters in high-level
languages; review of how fields of structures are accessed in assembly
language; the notion that, for each subroutine call, an activation
record is pushed on the stack which contains the parameters, any local
storage, and the return address (so, conceptually, the data type
of the stack is a stack of structures). Small examples of
subroutines that call subroutines (including recursive ones), showing
the need for the stack; translating C statements involving function
calls, the & operator, and the * operator into assembly language.
- Lecture Notes 9 (text)
Example programs with call by reference and call by value parameters.
The series call-by-reference program: params.asm.
An example with an array:
A recursive example: fact.asm .
A handout for fact.asm that includes a script.
- Lecture Notes 10 (text)
Assembler algorithm. Not covered Spring 2000
- Lecture Notes 11 (text)
Downloading and bootstrapping
- Lecture Notes 12 (text)
- The Digital and Analog sensors covered in lecture, before the
Lab held Thursday, October 28. See the files under
Info on the course
- Lecture Notes 13 (text)
Delay Loops; Interrupts
- Lecture Notes 14 (text)
More on the X and I bits; Timing interrupts
- **Exam 2: Thursday, November 11
- Lecture Notes 16
Combinatorial Logic Circuits and Flip Flops.
- Lecture Notes 15
Floating point numbers.
Review for final exam: December 7 and 9.
**Final exam: 10:30-12:30am, Thursday, December 16