Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Address Instruction 16 17 LDA 32 SUB 33 Addresses 16-17 represent the program area 32 33 Data 25 18 Addresses 32-33 represent the data area
Address Instruction 16 17 LDA 32 SUB 33 Addresses 16-17 represent the program area 32 33 Data 25 18 Addresses 32-33 represent the data area Show the contents of the PC, MAR, MDR, IR, and A registers as each step of the fetch-execute cycle is performed for instructions at addresses 16 and 17. Note that you have a sequence of two instructions. The 5 steps in the second instruction SUB 33 will gradually replace the contents of the registers set by the first instruction. Instruction: 16 LDA 32 PC MAR MDR IR A 16 16 LDA 32 ? ? Steps in the machine cycle 1. PC MAR 2. MDR IR 3. IR[addrl MAR 4. MDR A 5. PC + 1 PC Instruction: 17 SUB 33 PC MAR MDR IR A Steps in the machine cycle 1. PC MAR 2. MDR IR 3. IR addrl MAR 4. A - 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