Okay, as long as both motherboards use the same HAL and the same disk controller driver, it should work.
Realistically, doing a backup/restore is advised.
Do a full system backup, swap the motherboard, install XP, and restore. The restore will NOT overwrite your devices.