Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

From Fundamentals of Computer Systems 4th Edition : Section 4.10 of the text provides an example of the execution of a simple MARIE program. For

From Fundamentals of Computer Systems 4th Edition: Section 4.10 of the text provides an example of the 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.

image text in transcribed

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

IR

MAR

MBR

AC

(initial values)

100

Fetch

MAR PC

100

100

IR M[MAR]

100

1105

100

PC PC + 1

101

1105

100

Decode

MAR IR[11-0]

101

1105

105

(Decode IR[15-12])

101

1105

105

Get operand

MBR M[MAR]

101

Execute

AC MBR

101

(b) Subt 104

Step

RTN

PC

IR

MAR

MBR

AC

(initial values)

101

(c) Store 104

Step

RTN

PC

IR

MAR

MBR

AC

(initial values)

Hex Binary Contents of Hex Contents Address Instruction 100 Load 105 101 Subt 104 102Store 104 103 Halt 104 00A3 10500F3 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 of Memory 1105 4104 2104 7000 00A3 00F3 Hex Binary Contents of Hex Contents Address Instruction 100 Load 105 101 Subt 104 102Store 104 103 Halt 104 00A3 10500F3 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 of Memory 1105 4104 2104 7000 00A3 00F3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2016 Riva Del Garda Italy September 19 23 2016 Proceedings Part 3 Lnai 9853

Authors: Bettina Berendt ,Bjorn Bringmann ,Elisa Fromont ,Gemma Garriga ,Pauli Miettinen ,Nikolaj Tatti ,Volker Tresp

1st Edition

3319461303, 978-3319461304

More Books

Students also viewed these Databases questions

Question

Verify that AB BA, where 32) 3 -5 4 12 A = and B = %3D -9 4

Answered: 1 week ago