working version for setting return address after swi (needed for
context/process switch)