Added XOR operation.
Bounds-test the registers.

So that people don't walk over our RAM.
Compile with useful debug operations.