Now all registers including pc are writable in the hook