Sorry, I should have mentioned this earlier, but it should also work for 64 bit code - i.e. regxR and RSP.