inline register saving example