i have this code i have to translate it to machine code assembly language and this is really confusing
i have to right
x = 8
y = 12
if(x > y)
x = y - x
else
x = x - y
and
int x = -5
int rslt = 0
while (x !=0)
{
rslt = rslt + x
x = x + 1
}
and i would really appericate it if any body could help me