Discuss teh below:
Q: Write a complete program in assembly language for the MARIE computer. The program must compute the absolute value of variable Z, store the result in another memory location, and halt. In case you have forgotten the definition, the absolute value of any numerical value a is given by
|a| a, if a > 0
-a, if a < 0.
Assume that label Z appears in your program as follows, although Z can be any 16-bit 2's- complement value. (Your answer does not need to check for any values of Z that might be too large in magnitude.) Z, DEC 17. Use label ZABS to refer to the result that your program computes.
Attachment:- MarieSim-v1.3.01.zip