Homework 6 Errata
- Problem 8 (P&P 5.32)
For this problem you can answer the question for either the sequence
of instructions given in the book or the one provided below. I
see that there is some ambiguity in the sequence given in the book. If
you choose to use the book sequence, please state your assumption(s)
that remove the ambiguity, and I will grade the problem appropriately.
If you do choose to use the sequence provided below, please state so
while answering the problem.
The problem statement should read:
If the condition codes have values N = 0, Z = 0, P = 1 at the
beginning of the execution of the following sequence of
instructions, what will their values be at the end of the execution
of the following sequence of LC-3 instructions?
x3050 0000 0010 0000 0010
x3051 0101 0000 0010 0000
x3052 0000 1110 0000 0010
x3053 0101 0000 0010 0000
x3054 0001 0000 0011 1111
- Problem 6 (P&P 5.22)
Replace: x3010 1110 1110 0011 0001
With      : x3010 1110 0110 0011 1111
Steve Keckler, skeckler@cs.utexas.edu