Can you help me to write this Code ??
) Write MARIE code to perform the following program excerpt.
If (x < y + z)
{
x = x – y;
z=z+1;
}
else y=y-1;
Use “ORG” instruction to start your program at address 200
0 is new value of X
The following labels and directives should be included at the end of your program:
X, Dec 0
Y, Dec 2
Z, Dec 5
One, Dec 1
) Write MARIE code to perform the following program excerpt.
If (x < y + z)
{
x = x – y;
z=z+1;
}
else y=y-1;
Use “ORG” instruction to start your program at address 200
0 is new value of X
The following labels and directives should be included at the end of your program:
X, Dec 0
Y, Dec 2
Z, Dec 5
One, Dec 1