Always, on every assignment, please write your name legibly as it appears
on your University ID and on the class list! All assignments will be due
on Fridays at the start of class, and unless there is what insurance companies
call "an act of God", the only exceptions to this rule will be by advance
arrangement.
-
What is your E-mail address? (If you have more than one, give the address
you'd prefer used for class purposes.)
Survey Questions
-
What programming languages have you used to write even small programs?
-
What programming languages have you used to write programs that you
considered large?
-
What machine architectures have you studied -- at the level of
the machine's assembly language or instruction set?
-
What processor implementations have you studied -- at levels below the
instruction set (for example, at the level of gates and flipflops, the
level of microcode, or the level of register-transfer logic)?
Questions covering Prerequisites for the Course
-
A, B and C are three one-bit binary numbers.
S is the two-bit binary sum, where
S1 is the most significant bit
and S0 is the least significant bit. Give the truth table
for an adder that computes S = A + B + C.
-
The tripflop is a logic device with 3 outputs, Qa,
Qb, and Qc and 3 inputs, Ta
Tb, and Tc.
There are three 3-input nand gates in a tripflop, one per output:
- Output Qa is computed from inputs
Ta, Qb, and Qc.
- Output Qb is computed from inputs
Tb, Qa, and Qc.
- Output Qc is computed from inputs
Tc, Qa, and Qc.
a) With all inputs high, what are the stable states of a tripflop?
b) What do you do to the inputs of a tripflop to flip it into one of its
stable states?
-
To what does the term fetch-execute cycle refer? Give a short
answer.
-
The steriotypical function call and return instructions save and restore the
program counter on the stack. What additional work is done by the
steriotypical interrupt and return from interrupt mechanism?
-
The fictional TurboFlam computer has a 13-bit word. The parallel port
option on this machine has 13 input pins and 13 output pins (separate
from each other), along with strobe and acnkowledge pins for each transfer
direction. Explain the likely contents of the 3 input-output device interface
registers in the TurboFlam parallel port interface.