Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I NEED HELP WITH THIS EXCERCISE PLEASE... THANKS A) Suppose the memory cells at

ID: 3607857 • Letter: I

Question

I NEED HELP WITH THIS EXCERCISE PLEASE... THANKS A) Suppose the memory cells at addresses 00 though 03 in themachine describe in "Table 1" contain the following bitpatterns; Address      Contents 00               10 01              04 02              30 03              45 04              C0 05               00 1) Translate the instructions into English. 2) What bit patterns are in the memory cell at address 45 andprogram counter when the machine halts? B) Suppose the memory cells at address AF through B1 in themachine described in "Table 1" contain in the following bitpatterns: Address      Contents AF             B0 B0              B0 B1             AF 3) What would happen if we started the machine with itsprogram counter containing AF? "Table 1"

Explanation / Answer

00               10                     
01              04 02              30 03              45 04              C0 05               00

Instruction                        meaning
location   content
00              1004              load into register 0 contents in location4                       R1 = C000
02              3045              store whats in register 0 in location45                          loc 45 =C000
04              C000             Stop execution

B) Suppose the memory cells at address AF through B1 in themachine described in "Table 1" contain in the following bitpatterns: Address      Contents AF             B0                                    
B0              B0 B1             AF 3) What would happen if we started the machine with itsprogram counter containing AF?

B0B0    would be branch to B0
B0AF   would be branch to AF
so you would have a nice tight infinite loop