Hello Michael, The register r12 is a scratch register, so you can use it in your function w/o the need to save it on the stack. If an interrupt occurs the interrupt handler saves and restores register r12, so your own functions are ok. If you have any further questions regarding this issue please don't hesitate to post it here. Til