Error in register resetting (instructions 501 to 599) - should start with register[0] instead of register[1] as register #1