avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] debugging gdb/ddd: wrong assembler output withoffset 0x80


From: Klaus Rudolph
Subject: Re: [avr-chat] debugging gdb/ddd: wrong assembler output withoffset 0x800000
Date: Sat, 17 Dec 2011 17:37:16 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Joerg Wunsch schrieb:

> Even more confusing then, while the SPM instruction operates on 16-bit
> words (to program the flash), the LPM instruction operates on 8-bit
> bytes, as all of a sudden, with LPM, the flash becomes byte-oriented.
> =:-)
> 
> Manufacturers of 32-bit CPUs usually always talk about byte when
> dealing with addresses, and simply require that the two LSBs of the
> address are 0.  Or, as with ARM, the address alignment is 16 bits, and
> the LSB is used to encode the thumb bit (so while in thumb mode, the
> PC always displays in odd numbers).
> 
Nice discussion, but is there any idea for a bugfix for the gdb bug.:-)

Thanks
Klaus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]