This assignment must be submitted as a single file for Assignment 3 of the CSCI 255/ECE 109 section on UNCA moodle by 5:00 PM on Friday, 20 March.
I know this is boring and tedious, but it must be done before Exam 2.
[The last sentence is a big hint about problems that may be on Exam 2.]
Do parts (a), (b), (c), and (e), of problem 5.13 (p. 147) of the textbook but give your answer as a sequence of LC-3 instructions in binary format.
Do problem 5.32 (p. 151) of the textbook but also write an English-like description of the LC-3 instructions or data stored in the three LC-3 words given for the problem.
It has been brought to my attention that in some printings of the textbook
this question is incorrectly written as:
"If the condition codes have values N = 0, Z = 0, P = 1 at the beginning of the execution of the following sequence of LC-3 instructions?"
This should be written as:
"If the condition codes have values N = 0, Z = 0, P = 1 at the beginning of the execution of the following sequence of LC-3 instructions, what will their values be at the end of the execution of the following sequence of LC-3 instructions?"
Do problem 5.33 (p. 151) of the textbook but also write an English-like description of the LC-3 instructions or data stored in the ten LC-3 words given for the problem.