Skip to content

Instantly share code, notes, and snippets.

@OlegHahm
Created March 11, 2014 14:44
Show Gist options
  • Save OlegHahm/9487194 to your computer and use it in GitHub Desktop.
Save OlegHahm/9487194 to your computer and use it in GitHub Desktop.
interrupt(USART1RX_VECTOR) usart0irq(void)
{
32b6: 0f 12 push r15
32b8: 0e 12 push r14
32ba: 0d 12 push r13
32bc: 0c 12 push r12
//#define eINT() eint()
//#define dINT() dint()
inline void __save_context_isr(void)
{
__asm__("push r15");
32be: 0f 12 push r15
__asm__("push r14");
32c0: 0e 12 push r14
__asm__("push r13");
32c2: 0d 12 push r13
__asm__("push r12");
32c4: 0c 12 push r12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment