I've had a couple bad/fried CPUs and they usually won't even boot up. I just get a blank screen. Since you say the computer boots up, but keeps on resetting it could be a bad hard drive/ corrupted Windows installation or memory problem. I've had a resetting problem before and all I had to do was reinstall Windows.
You could also try downloading an OS that boots off CD like Knoppix Linux. If it can run that, you can probably rule out CPU, memory, and other problems. I usually keep a copy around incase my hard drive fails or my Windows installation gets corrupted I can still access my emaill/interent until I find time to restore Windows.