Write an ARM program that takes two integers as input, x and y, and calculates
x*y using only addition. Convert the following C code into ARM:
int main()
{
int x, y, result=0;
//read x
printf("Please enter x: ");
scanf("%d", &Xx);
//read y
printf("Please enter y: ");
scanf("%d", &y);
if (y<0)
{
}
x=0-X;
y=0-y;/nif (y<0)
{
}
x=0-X;
y=0-y;
for (int counter=0; counter
Fig: 1
Fig: 2