Implemented arithmetic changes to the registers