Writing once a single value to a register