Added status register to clearRegisters() method.