CS 273 Midterm I Information

Administrative Notes

  1. All my exams are open book. That means textbook, reference manual, notes, hardcopy of my lecture notes, and any other hardcopy reference you may find valuable.
  2. No calculators or other electronic aids - no computers, no PDAs, etc.
  3. In order to avoid biasing my grading on later exam questions due to the results of earlier ones, and to facilitate grading in batches (ie all the Question I's first, then the Question 2's, and so forth), put only one question on each sheet of paper you turn in. Putting more than one question on a sheet of paper will cause a ten point deduction.
  4. In order to avoid biasing my grading in favor of some students at the expense of others, put your social security number and not your name on each sheet of paper you turn in.Putting your name on your exam will cause a ten point deduction.

Topics

Binary and Hexadecimal Numbers
Conversion to and from decimal, addition, negative numbers, condition codes
Assembly Language and Machine Code
Given a fragment of assembly code, what machine code will the assembler produce? Given a fragment of machine code, what assembly code could have produced it?
Addressing Modes
Immediate, Direct, Extended, PC-relative. No indexed.
Simple Instructions
Load, store, add, subtract, compare, test, branches.
High Level Language Code and Assembly Code
Given a fragment of high level language code, what assembly code fragment could produce the same result?

Last modified: Fri Mar 2 11:25:32 MST 2001