On Thu, Feb 14, 2008 at 5:11 PM, Tom <tjkeller1@windstream.net> 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: Well, at the moment, I'm fighting studio problems that are about that low level.. After the usual stuff: Here: ldi temp,$FF ldi temp,$FE rjmp here temp remains at whatever value it was, and the rjmp dosen't work. support is baffled, I am baffled and confused. For your problem: Check the data sheet on the vector table, wether it uses jmp or rjmp. I'm almost sure it's rjmp, but I've been bitten there too. Check that the simulator is working in the same device, it dosen't automatically get that from the code.
Message
Re: [AVR-Chat] help
2008-02-14 by David VanHorn
Attachments
- No local attachments were found for this message.