Answered step by step
Verified Expert Solution
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 > 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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started