add xor to only change different bits
woop, print out changes to the MCP, p.s. this is very compressed and I should probably write quite a few comments in to help wiht this