MARIE assembly language please help as soon as possible!

May 2, 2013 at 17:58:21
Specs: Windows 7, 2gb
the question is, a program adds two number present in memory locations X and Y, if the result is positive or equal to zero , store it at memory address Z, and if the result is negative store it at memory address Z and then send it to output.
i have written this code can any one correct me. thanks for help in advance. :) i hope reply as soon as possible.

org 100
Load X
Add Y
Skipcond 800
Store Z
Skipcond 400
Store Z
Skipcond 000
output Z
halt
X, Dec 5
Y, Dec -7
Z, Dec 0
END

See More: MARIE assembly language please help as soon as possible!

Report •


#1
May 2, 2013 at 23:22:02
"MARIE Assembly Language Please Help As Soon As Possible!"

Tutorials and downloads of MAL utilities are here: http://computerscience.jbpub.com/ec...


Report •
Related Solutions


Ask Question