MARIE Simulator help?

Thread Starter

PleaseHelpMeNao

Joined Nov 21, 2013
0
Hi guys I'm stuck on this MARIE question I don't understand it at all any help?

What would the value in memory location 200 be after executing this MARIE assembly language program?

100 LOAD 200

101 ADD 201

102 SUBT 202

103 CLEAR

104 STORE 200

105 HALT

...

200 FE

201 01

202 11

203 00

SELECT ONE:

A. EE
B. 00
C. 01
D. FE
 
I have never seen MARIE before but I think it works like his:

Line number 100 loads the value of memory location 200 into the accumulator.

Line number 101 adds the value stored in memory location 201 to the value in the accumulator.

Line number 102 subtracts the value stored in 202 from the current value in the accumulator.

After Line 105 the memory locations are listed along with their respective values.

I get EE as a result.

Please jump in and set me straight if I am wrong.
 
Top