The Little Prince Computer (LPC) is a mutant variation on the LMC. The LPC has o
ID: 3742084 • Letter: T
Question
The Little Prince Computer (LPC) is a mutant variation on the LMC. The LPC has one additional instruction. The extra instruction requires two consecutive words: 0XX 0YY This instruction, known as MOVE, moves data directly from location XX to location YY without affecting the value in the accumulator. To execute this instruction, the Little Prince would need to store the XX data temporarily. He can do this by writing the value on a piece of paper and holding it until he retrieves the second address. The equivalent in a real CPU might be called the intermediate address register, or IAR. Write the fetch-execute cycle for the LPC MOVE instruction.
Explanation / Answer
Answer:
The instruction move navigates data directly from location XX to location YY without any impact on the value in the accumulator.To run this instruction the Little Prince would recommended to keep the XX information temporarily.He can perform this by changing the value on a snippet of paper and handing it till he gets the second address.The equivalent in a real CPU can be called as intermediate address register and keep the fetch execute cycle for the move instruction of LPC.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.