S=2
x=0
W X Y Z
1:P(S) P(S) P(S) P(S)
2:x=x+1 x=x+1 x=x-2 x=x-2
6:V(S) V(S) V(S) V(S)
Instruction 2 has 3 parts
3:Load x,R
4:Inc R
5:Store R,x
How process are runing ?
W: 1,2,3 | X:1,2,3,4,5,6 ............................................
Register R in W is having value 1 now whatever value we get from other processes is going to overwrite.
So
R=R +1=2
Store R,x
x=2 Maximum value possible
Similarly, the Minimum value will be -4
Option D