Question 13
Consider the computations given below using the generalized memory model.
1. M[0] ← 7
2. M[1] ← 5
3. M[1] ← M[1] * M[1]
4. M[0] ← M[1] - M[0]
5. M[1] ← M[1] - M[0]
6. M[0] ← M[1] + M[0]
7. M[2] ← M[0]
What is the value of M[2] at the end of the computation?