Answer to Question #191657 in Assembler for desmond

Question #191657

a)On the IAS, what would the machine code instruction look like to load the contents of memory address 2 to the accumulator?

b) How many trips to memory does the CPU need to make to complete this instruction during the instruction cycle? 


1
Expert's answer
2021-05-12T18:01:11-0400

a)      

  OpCode    |     Operand (Address)

----------------------------------------------------------------------

                00 0001       |    0000 0000 0010

b)

At the beginning, the CPU must get an instruction from memory. The instruction contains the address of the data to be loaded. Then the data will be loaded, which are located at this address. This is another memory call.

During the execution time of the instruction, there will be two memory accesses.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS