29. Write an assembly language program that corresponds to the following C program: int num1; int num2;

Question:

29. Write an assembly language program that corresponds to the following C program:

int num1;

int num2;

int main () {

scanf("%d", &num1);

num2 = -num1;

printf("num1 = %d", num1);

printf("num2 = %d", num2);

return 0;

}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems

ISBN: 9781284079630

5th Edition

Authors: J Stanley Warford

Question Posted: