If you have an OEM or System Restore CD this is in direct violation of MS EULA. You are only licensed to use the MS Software on the [b]Original Hardware.[/b]
But if you have already backed up the data and you'll need to make sure that you have it all including the Stored E-Mail and any data stored in programs that you may have loaded the best way to proceed is to wipe the HDD with a utility that writes zeros to every sector of the HDD and then start off the install from that point where the XP installation will format the HDD and then continue to install.
Unless you have a Volume License Copy of XP you'll be required to reactivate the installation of Windows and it most likely will have a different code meaning that it is now picking up different hardware than when it was first installed or on the last install and the Web Activation will be refused so you'll have to ring up MS for an activation code.
Generally speaking you can not transport a HDD from one computer to another and expect it to work as when XP is installed the drivers for the hardware present is installed and a different computer is more likely than not to have different hardware requiring different drivers. From previous experience I've found that using the Repair Option isn't overly successful if it works at all and you are better off starting from scratch with a blank HDD and doing a clean install.
Col