Declare vector table
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
; Registers
|
||||||
|
; r16: ISR setup, reusable after main;
|
||||||
|
|
||||||
|
.org 0x0000 ; RESET Vector
|
||||||
|
rjmp main
|
||||||
|
.org 0x000A ; TIMER0_COMPA (Timer0 Compare Match A)
|
||||||
|
rjmp isr_stop_blink
|
||||||
|
|
||||||
#define __SFR_OFFSET 0
|
#define __SFR_OFFSET 0
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include "timer.inc"
|
#include "timer.inc"
|
||||||
|
|||||||
Reference in New Issue
Block a user