I am using an ATmega16 on an STK500 and programming in assembler with Studio7 and including the m16def.inc. My problem is trying to use the timer0 compare interrupt. When ever I try to build my file I always get an error message "Undefined symbol:tim0_comp" pointing to the entry in the list of interrupt vectors in the CSEG listing of all the interrupts. The list is straight out of the ATmega16 data sheet PDF so why won't it recognize the label I've used. I'm beginning to think that there might be an error in the list of interrupts in the PDF file. I have tried starting again from scratch using the mega16a and m16Adef.inc with the same result. One way around the problem would be to use timer2 but that would just get around my problem and not fix it.
Thanking any replies in advance, Allan