Rg1 register not updating