Changed the way a register is set to 0.