X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/678fc0b01b6a5e7ebb30388383ce2bea0d30303a..4675c141e70a1bc417c0d2e70c2f7946715aa605:/avrcpm/avr/sw-uart.asm 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