Answered step by step
Verified Expert Solution
Question
1 Approved Answer
execution of a simple MARIE program. For this problem, you are to complete a similar example for a different program. In particular, for the MARIE
execution of a simple MARIE program. For this problem, you are to complete a similar example for a different program. In particular, for the MARIE program given below, you are to complete the equivalent of Figure 4.14, but for the program below. You do not need to show how the "Halt" instruction is executed. Specify values in PC, IR, MAR, MBR, and AC in hexadecimal. Hex Contents of Memory 1105 4104 Address Instruction Load 105 101 Subt 104 102 Store 104 103 Halt 104 003 10500F3 Binary Contents of Memory Address 0001 0001 0000 0101 0100 0001 0000 0100 0010 0001 0000 0100 0111 0000 0000 0000 0000 0000 1010 0011 0000 0000 1111 0011 2104 7000 0043 OOF3 Tables for Depicting MARIE Program Execution These tables are for use with Problem 4 of Homework 3. Use the tables to indicate MARIE program execution as in Figure 4.14 in the textbook. Portions of the tables are already completed. Incorporate with your other solutions to submit a single PDF file for the homework assignment. (a) Load 105 Step RTN PC IRMAR MBR AC (initial 100- values) Fetch MAR+ 100 - 100 - PC 100 1105 100 IR M[MAR] PC + PC +1 101 1105 100 Decode MAR+ 101 1105 105 IR[11-0] (Decode101 1105 105 IR[15- 12]) Get MBR 101 operand MMAR] Execute AC + 10 MBR (b) Subt 104 Step RTN PC IR MAR MBRAC (initial 101 values) (c) Store 104 Step RTN PC IR MAR MBRAC (initial values)
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