Hello Sir,
As per 8.5"Variables" register allocation is done by compiler,
means which value will give to which register is decided by compiler.
So in the same slide
int var3 = var1 + var2;
said that var1 and var2 are used at same time so they will be in different registers at execution time.
So if RHS is extended to variable addition upto var'n' , then this n depends on number of registers and hence processor architecture.
So what is the value of n for x86 architecture and how it can be find out?
Regards,
Anon10020