Was writing to the wrong register.