Question 17
Consider the following assembly program (anything after ; is a comment).
If initially n=6, what will be the final value stored in R2 at the end of the program?
Consider the following assembly program (anything after ; is a comment).
If initially n=6, what will be the final value stored in R2 at the end of the program?
Correct answer: 21
Question 17 of 17 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (Programming in C 16 Jul 26). It carries 4 marks.