Well if you are replacing your system with a new CPU Q9650, your OS will continue to work without any problem assuming that the CPU is on the compatibility list of the motherboard.
Note: The new CPU Q9650 supports both 32 & 64 bit OS.
All the best,
What mother board are you using ??