Add the register codes