Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4: (15 marks) Suppose that you have the following screenshot from the MARIE simulator: M MARIE Simulator Eile Run Stop Step Breakpoints Symbol Map

image text in transcribed

Question 4: (15 marks) Suppose that you have the following screenshot from the MARIE simulator: M MARIE Simulator Eile Run Stop Step Breakpoints Symbol Map Help label AC 0000 Hex IR hex 5000 1 5000 2109 9106 5000 Hex DDDDDDDDD opcode operand INPUT STORE INPUT STORE Y 2 LOAD 3 OUTPUT HALT DEC DEC 0 MAR 100 Hex 100 101 102 103 104 105 106 107 108 109 End MBR 0000 Hex 1108 6000 7000 0000 0000 0 PC 101 Hex INPUT 5 Dec a) Write the equivalent Hex value of the instruction STORE X (1). b) What is the hidden Instruction that has the Hex value 9106 (2)? c) What is the hidden part of the Instruction that has the Hex value 1108(3)? d) Based on the above screenshot which shows the execution of the first instruction what will the value of x be? e) Based on above, what will the output if the second entered value was 10? f) Run the whole code on your MARIE simulator and include a screenshot that shows the code and the output

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

write a C++ recursive code to build a binary tree

Answered: 1 week ago

Question

What is IUPAC system? Name organic compounds using IUPAC system.

Answered: 1 week ago

Question

What happens when carbonate and hydrogen react with carbonate?

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago