Is My Calculation of PC, AR, DR, AC, and IR Using the STA Instruction Correct?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 6K views
itech4814
Messages
10
Reaction score
0
I have an issue with my computer architecture problem.

Computer has intial I=0, PC=100, AC=ABCD, Address 055. The content of memory location (055) is 7777. I have to find PC, AR, DR, AC, and IR from that information using the STA instruction.

The STA instruction is M[AR] <-AC

I calculated the following values and believe it is correct...

PC=101;
AR=055;
DR=ABCD;
AC=ABCD;
IR=3055;

Can anyone tell me if this is correct?
 
Physics news on Phys.org
This looks correct, assuming the memory location 100 contains the value 3055.