Academic Help Online

Recall the machine busy example from Section 2.7.1. Assuming the BUSYNESS bit vector is stored in R2, we can use the LC-3 instruction 0101 011 010 1 00001 (AND R3, R2, #1) to determine whether machine 0 is busy or not. If the result of this instruction is 0, then machine 0 is busy. a. Write an LC-3 instruction that determines whether machine 2 is busy. b. Write an LC-3 instruction that determines whether both machines 2 and 3 are busy. c. Write an LC-3 instruction that indicates none of the machines are busy. d. Can you write an LC-3 instruction that determines whether machine 6 is busy? Is there a problem here?

READ ALSO :   What is the argument for plotting a centered moving average centered over the time period in the calculation rather than plotting it at the end of the time period?