For
int x, y; ... x = x + y;
Both x and y will be allocated memory locations.
To execute the statement above,
- the x value could be copied (move instruction) into a general purpose register
- the y value could be added to this register
- the register value could be copied (move instruction) back into the memory location for x.