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

AI Thread Summary
The discussion revolves around a computer architecture problem involving the STA instruction, which transfers the value in the accumulator (AC) to a specified memory location. Given the initial values of the program counter (PC), accumulator (AC), and memory address, the calculations for the program counter (PC), address register (AR), data register (DR), accumulator (AC), and instruction register (IR) were presented. The calculated values include PC as 101, AR as 055, DR as ABCD, AC as ABCD, and IR as 3055. It is noted that the correctness of these values hinges on the assumption that memory location 100 holds the value 3055.
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?
 
Computer science news on Phys.org
This looks correct, assuming the memory location 100 contains the value 3055.
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
Back
Top