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

I have the following instructions: Address Contents 00 10 01 04 02 30 03 45 04 C

ID: 3618815 • Letter: I

Question

I have the following instructions:

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

So we have:
1004
3045
C000

a. translate to english
b. What bit pattern is in memory cell at address 45 when themachine halts
c. what bit pattern is in the program counter when the machinehalts

So I Know:
a. 1004 --> load the register 0 with the bit pattern found inthe memory cell whose address is 04
3045--> store the contents of register 0 to be placed in thememory cell whose address is 45
c000--> program halts
b. ?
c. ?
Im confused on B n C

Explanation / Answer

please rate - thanks Address   Contents 00              10 01              04 02              30 03              45 04             C0 05             00 So we have: 1004 3045 C000 a. translate to english b. What bit pattern is in memory cell at address 45 when themachine halts c. what bit pattern is in the program counter when the machinehalts So I Know: assuming each insruction is 2 bytes, andthe PC updates after the instruction completesexecution a. PC=0 1004 --> loadthe register 0 with the bit pattern found in the memory cell whose address is 04 register 0 now has a C0 in it PC=2 3045-->store the contents of register 0 to be placed in the memory cell whose address is 45 memory location 45 now has a C0 in it PC=4 c000--> programhalts b. ? C0 c. ? 4 - assuming my assumptions arecorrect