Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are 15 MARIE instructions so with a 4-bit op code we can add one instruction. provide the full MARIE RTN for the described new

There are 15 MARIE instructions so with a 4-bit op code we can add one instruction. provide the full MARIE RTN for the described new operation (include the fetch, decode, operand fetch (if necessary), execution and store result (if necessary) stages). X refers to a main memory address of the datum/pointer/branch location which is stored in IR[11..0], do not reference X in your RTN.

image text in transcribed

Hand-compile the following MARIE code. Show the result in hexadecimal (not binary). 200 Top: 201 202 203 204 205 Next: 206 207 208 209 20A 20B 20C End 20D 20E 20F 210 211 Load X Subt Y Skipcond 01 Jump Next Jump End Load X Add One Store X Load Y Subt One Store Y Jump Top Load X Output Halt X is stored here Y is stored here One is stored here Hand-compile the following MARIE code. Show the result in hexadecimal (not binary). 200 Top: 201 202 203 204 205 Next: 206 207 208 209 20A 20B 20C End 20D 20E 20F 210 211 Load X Subt Y Skipcond 01 Jump Next Jump End Load X Add One Store X Load Y Subt One Store Y Jump Top Load X Output Halt X is stored here Y is stored here One is stored here

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 Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions