Question: What does the following MARIE program do ? What is the value in the AC ( hex ) when the program halts? ORG 1 0

What does the following MARIE program do? What is the value in the AC (hex)
when the program halts?
ORG 100
Load Z
Load W
Subt Y
JnS Routine
Halt
Routine, HEX 0
Load Y
Add X
JumpI Routine
X, Hex 7
Y, Hex F
Z, Hex 3
W, Hex 7

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!