"Dave Hylands" <[email protected]> wrote: > Because all of the tools expect to work in bytes, but internally, the > AVR actually works in words which are 16-bits wide (we're talking > about code addresses here). > > This means that tools like objdump and objcopy and the linker all > continue to use byte addresses, but the actual code uses word > addresses.
> "Dave N6NZ" wrote: > The not-very-technical answer: > Well, avr-gcc thinks the whole world is byte addressable. But AVR flash > is (16 bit) word addressable only. So the avr-gcc tool chain works in > byte addresses until the very last stages of prepping a binary, where > flash addresses all get shifted right by one bit. Thanks Dave and Dave ! ;-) -- Vince _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
