Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Write MARIE code to perform the following pseudocode excerpt. Input a value for x Input a value for y if(x > y) max=

a) Write MARIE code to perform the following pseudocode excerpt. Input a value for x Input a value for y if(x

a) Write MARIE code to perform the following pseudocode excerpt. Input a value for x Input a value for y if(x > y) max= x; else max=y; Output the value of max b) Provide a screenshot of the simulation result (A screenshot of the MARIE Simulator window after running the program, showing the value at the output window). nstructions: Use "ORG" instruction to start your program at address equivalent to 14008. Use your last university ID number to input the new values of x and y respectively. For example, if your ID is 2415161678235, then you will use the number 3 as the value of x and 5 as the value of y. Do not forget to change the Input and output boxes to decimal! Proper labels and directives should be included at the end of your program.

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

Explanation Use the ORG instruction to start your program at address 14000H Use your last university ID number to input the new values of x and y resp... 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

Fundamentals Of Digital Logic With Verilog Design

Authors: Stephen Brown, Zvonko Vranesic

3rd Edition

978-0073380544, 0073380547

More Books

Students also viewed these Programming questions

Question

In the above equation, what is the result of the loss of CO2?

Answered: 1 week ago

Question

What are the attributes of a technical decision?

Answered: 1 week ago