There are two START labels! Jim On Feb 14, 2008, at 2:11 PM, Tom wrote: > I am confounded and flummoxed. I have an assembly program I am > attempting to build in AVRStudio, but the assembler is ignoring my > code. I don't get it. I have compared it to other code I have which > assembles just fine, and can find no difference which explains this > behaviour. The editor is highlighting syntax appropriately, so I am > lost: > > include "tn25def.inc" > > ; > ; interrupt table > ; > > org 0 ; starting address > > START: > INT0: rjmp DUMMY ; external Interrupt 0 > PCIO: rjmp DUMMY ; pin change interrupt 0 > OC1A: rjmp DUMMY ; timer/counter 1 mompare match 1A > OVF1: rjmp DUMMY ; timer/counter 1 overflow > OVF0: rjmp DUMMY ; timer/counter 0 overflow > ERDY: rjmp DUMMY ; EEPROM ready interrupt > ACI: rjmp DUMMY ; Analog comparator interrupt > ADCC: rjmp DUMMY ; ADC conversion ready interrupt > OC1B: rjmp DUMMY ; timer/counter 1 compare match B > OC0A: rjmp DUMMY ; timer/counter 0 ocmpare match A > OC0B: rjmp DUMMY ; timer/counter 0 compare match B > WDT: rjmp DUMMY ; watchdog timer interrupt > USI_START: rjmp DUMMY ; USI start interrupt > USI_OVF: rjmp DUMMY ; USI overflow interrupt > > ; > ; end interrupt table > ; > > ; > ; constant defintions > ; > > equ TRUE = 0xff > equ FALSE = !TRUE > equ DIV = 0x28 ; divisor for timer readings > > START: > > ldi SPL, SRAM_START ; load stack pointer > > SO, what am I doing wrong? Assembler says the source file is empty > (??) > > avrFrfeak > > [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] help
2008-02-14 by James Wagner
Attachments
- No local attachments were found for this message.