1. Write a program in MARIE assembly language to perform following code segment Test your code thoroughly using MARIE simulator with values of X-10, X-20, and X-30- What is the value stored in X and Y by the end of execution? Include comments for each line of instruction in your program (12 points)
X 10 Y = 0 while X <= 10 do; Y = X _ 1 X = X endwhile;