V22.0201 (sec. 1) - Computer Systems Organization (Honors)

Quiz 1 Study Guide

The first quiz will be on September 24th.

Like all quizzes and exams in this course, it will be open book
(and notes). Laptops, cell phones, and Blackberrys are not allowed.

The quiz will cover the material in Dewar's notes, chapters 1 through
5.4 ... no more or less. It may include questions or details about
instructions not covered in class (for example, we did not go over all
the different jump instructions).

The quiz will consist of 6-8 short answer questions, asking you

whether instructions are legal

to assemble instructions into hex

to complete an incomplete sequence of instructions

to say what is in a register after a sequence of instructions

To study:

work on the homework; doing at least one version of assignment #1
is probably the best preparation for the quiz

go over the example code at the end of Dewar's chapters

assemble a couple of instructions by hand and check using DAS

In particular, be sure you

can assemble a memory instruction:

MOV BL,BYTE
PTR 1234H

can assemble a forward jump:

JNC
NOCARRY MOV
BL,1NOCARRY: MOV AL,1

can assemble a backward jump

LOOP: ADD AL,1 JNC
LOOP

know how byte arithmetic (mod 256) works; for example,
what's in AL after