mazur (02.10.2011 18:26, просмотров: 219) ответил MBedder на Во-во. .org RTFMaddr / rjmp RTFMisr :))
Стоп, так я так и писал вектора!
.cseg
.org 0x0000
rjmp Reset
;====== INTERRUPT VECTORS ================================================
.org INT0addr ; External Interrupt Request 0
rjmp EXT_INT0
.org INT1addr ; External Interrupt Request 1
reti
.org OC2addr ; Timer/Counter2 Compare Match
rjmp TIMER2_COMP
.org OVF2addr ; Timer/Counter2 Overflow
reti
.org ICP1addr ; Timer/Counter1 Capture Event
reti
.org OC1Aaddr ; Timer/Counter1 Compare Match A
reti
.org OC1Baddr ; Timer/Counter1 Compare Match B
reti
.org OVF1addr ; Timer/Counter1 Overflow
reti
.org OVF0addr ; Timer/Counter0 Overflow
reti
.org SPIaddr ; Serial Transfer Complete
reti
.org URXCaddr ; USART, Rx Complete
reti
.org UDREaddr ; USART Data Register Empty
reti
.org UTXCaddr ; USART, Tx Complete
reti
.org ADCCaddr ; ADC Conversion Complete
reti
.org ERDYaddr ; EEPROM Ready
reti
.org ACIaddr ; Analog Comparator
reti
.org TWIaddr ; 2-wire Serial Interface
reti
.org INT2addr ; External Interrupt Request 2
reti
.org OC0addr ; Timer/Counter0 Compare Match
rjmp TIMER0_COMP
.org SPMRaddr ; Store Program Memory Ready
reti
;-------------------------------------------------------------------------
.org INT_VECTORS_SIZE ; size in words
;=========================================================================