Problem1: Working with MARIE 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; 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). - else Instructions: 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. My ID IS 220972 Important note don't forget Screenshot - max=y; -

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 27PE
icon
Related questions
Question
Please help me correctly and use my ID 220972
Problem1: Working with MARIE
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).
Instructions:
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.
My ID IS 220972
Important note don't forget Screenshot
Transcribed Image Text:Problem1: Working with MARIE 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). Instructions: 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. My ID IS 220972 Important note don't forget Screenshot
Expert Solution
steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Assembly Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning