Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A. Consider the MARIE program below. a. List the hexadecimal code for each instruction b. Draw the symbol table c. What is the value stored

image text in transcribed

A. Consider the MARIE program below. a. List the hexadecimal code for each instruction b. Draw the symbol table c. What is the value stored in the AC when the program terminates? d. Write the pseudocode of this program. Instruction Hex Address Label 200 201 202 Load X Subt Y If Skipcond 800 Jump Then1 203 204 205 206 207 208 209 20A 20B 20C 20D 20E 20F 210 211 212 213 214 215 Load X Subt Z Skipcond 400 Else, Jump Then2 Load Z Store Z Load Y Add One Jump End Then1, Add One Store Y Jump End Load Y Then2, Subt One Store Y End Halt Dec 10 Dec 5 Dec 15 Dec 1 216 217 One

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

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions