--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote: > Looks like you are using GAS or other. Yes, that's what I use. The OP mentioned AVR Studio and I assumed (probably incorrectly) that he was using avr-gcc and avr-gas. All of my comments were based on that assumption. With regard to multiplying by two to get a word address, this is only needed if you are going to use the address to refer to code. For example, if you want to use the ijmp or icall instructions you must have a word address in r31:30. For use with LPM, you want a byte address in r31:30. Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Message
Re: problems
2008-03-23 by Don Kinzer
Attachments
- No local attachments were found for this message.