Here is my code:
#define RX_MODE PORTD &= ~(1<<PD4); ... ISR(USART1_TX_vect, ISR_NAKED){ RX_MODE reti(); }
After compiling it looks like this:
584 .global __vector_30 586 031e 8F5F __vector_30: 588 0324 00C0 .LM64: 589 .LFBB5: 590 /* prologue: naked */ 591 /* frame size = 0 */ 593 .LM65: 594 cbi 43-32,4 194:SMain.c **** 195:SMain.c **** ISR(USART1_TX_vect, ISR_NAKED){ 595 pilogue start */ 597 .LM67: 598 /* #NOAPP */ 196:SMain.c **** RX_MODE 600 pe5: 602 0326 5C98 .global main 197:SMain.c **** reti(); 603 ype main, @function 604 main: ...
I have two questions.
1) Why is there no reti?
2) What in the world is ype?