Question: 27. Write an assembly language program that corresponds to the following C program: int width; int length; int perim; int main () { scanf(%d %d,
27. Write an assembly language program that corresponds to the following C program:
int width;
int length;
int perim;
int main () {
scanf("%d %d", &width, &length);
perim = (width + length) * 2;
printf("width = %d", width);
printf("length = %d", length);
printf("perim = %d", perim);
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
