Question: Given the MARIE simulator machine level code in the following: If, Load X Subt Y Skipcond 400 Jump Else Then, Load X Add X Store

Given the MARIE simulator machine level code in the following:

If, Load X

Subt Y

Skipcond 400

Jump Else

Then, Load X

Add X

Store X

Jump Endif

Else, Load Y

Subt X

Store Y

Endif, Halt

X, Dec 12

Y, Dec 20

Please explain what the program does.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!