題組內容

8. Suppose you run the following assembly program on a computer. The computer consists of 8 memory registers (M [1] to M[81 ), 2 input registers (I [A] and I [B] ). and one output register (OUT). Consider the opcrations and controls for the assembly.
613aae9082af4.jpg613aaeae6215b.jpg

c) What is the value of M[4] when the program halts? (3%)