If you have the key for the new PC then it's not a problem. All you need to do is download and run the free version of click here. Then after you have cleared it, restart your comp with the XP CD put the key code in when it asks for it.
PS the BIOS may need changing for it to boot from the CD. But try it first.