Question
Draw a diagram showing 5 steps of the machine/instruction cycle (the fetch cycle and execute cycle) for the instruction LDA 32 residing at address 15.
Draw a diagram showing 5 steps of the machine/instruction cycle (the fetch cycle and execute cycle) for the instruction LDA 32 residing at address 15. Assume that memory location 32 contains 45.
Show the contents of the program counter (PC), instruction register (IR), and accumulator (A) in the CPU as well as MAR, RAM, and MDR. After you are done with the diagram, fill in the missing blanks in the table below. Show the contents of the PC, MAR, MDR, IR, and the Accumulator (A) as each step of the fetch-execute cycle is performed for the instruction LDA 32 residing at address 15. If the content of the register is unknown, write a question mark "?".
Instruction: 15 LDA 32
PC MAR MDR IR A
(1) PC MAR _15_ _15_ LDA 32 _?__ _?__
(2) MDR IR ____ ____ ____ ____ ____
(3) IR [address] MAR ____ ____ ____ ____ ____
(4) MDR A ____ ____ ____ ____ ____
(5) PC+1 PC ____ ____ ____ ____ ____
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started