Updated the registers formula.