X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/9c15f36650204cc8a2ada229ecbb50b592dc6aaa..637689dec534184006a1d30b8b49f998062442ce:/avrcpm/avr/sw-uart.asm?ds=inline diff --git a/avrcpm/avr/sw-uart.asm b/avrcpm/avr/sw-uart.asm index 36d814c..5d57485 100644 --- a/avrcpm/avr/sw-uart.asm +++ b/avrcpm/avr/sw-uart.asm @@ -83,11 +83,10 @@ uart_init: ;------------------------------------------------------------------ .cseg -srxint: - .org ICP1addr ; Timer/Counter1 Input Capture - rjmp srxint ; Soft UART: RX - .org srxint +; Timer/Counter1 Input Capture interrupt + + INTERRUPT ICP1addr push temp in temp,sreg @@ -316,11 +315,10 @@ srxi_end: ;---------------------------------------------------------------------- .cseg -stxint: - .org OC1Aaddr ; Timer/Counter1 Compare Match A - rjmp stxint ; Soft UART: TX - .org stxint +; Timer/Counter1 Compare Match A interrupt + + INTERRUPT OC1Aaddr push temp in temp,sreg