|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.
X, Dec 5
Y, Dec -7
Z, Dec 0