Question: 4. Translate the following C program into Pep/9 assembly language: #include int main() { int numl; int num2; } scanf(%d, &numl); num2 = -numl;
4. Translate the following C program into Pep/9 assembly language: #include int main() { int numl; int num2; } scanf("%d", &numl); num2 = -numl; printf("numl printf ("num2 return 0; = %d ", num1); %d ", num2) ;
Step by Step Solution
3.43 Rating (150 Votes )
There are 3 Steps involved in it
Answer The code is as follow ORG 3000 Start address of the program START LDWA STR1 Load ... View full answer
Get step-by-step solutions from verified subject matter experts
