Question: Write an assembly code using Irvine library equivalent to the shown c code int main() { int score1, score2, score3, sum; printf(Enter score1:: ); scanf(%d,
Write an assembly code using Irvine library equivalent to the shown c code int main() { int score1, score2, score3, sum; printf("Enter score1:: "); scanf("%d", &score1); printf("Enter score2:: "); scanf("%d", &score2); printf("Enter score3:: "); scanf("%d", &score3); sum = 0; sum = score1+score2+score3; printf("The sum of the three scores is %d.", sum); return 0;} hint:use the functions: mov call readDec call WriteString call WriteInt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
