Question: 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
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... View full answer
Get step-by-step solutions from verified subject matter experts
