Having both Windows XP and Windows 7 without formatting

I am currently using Windows 7 Ultimate, I just want to have another OS like Windows XP so I can switch to 2 different OS's easily. But my concern is can I have another Windows XP OS without reformatting my computer all over again?
