I have noticed than when using GCC-GAS, the .ORG directive does not put code where you want, but instead puts it "close" - give or take anywhere between 30-50 bytes!
When using the old Atmel compiler, this used to work as expected if I remember correctly.
So if I do this...
.org 1024 CODESTART: .dc.b 1,2,3,4,5,6,7,8
I would expect the data to be aligned nicely on a boundary, starting at address 1024.
In the old compiler this worked, and I could index using only ZL.
But with GCC-GAS, when I look at the LSS file, it decides that 1024 actually equals 1072...
Kind of screws things when you want data at a certain location, or when trying to read program memory that should be on a page boundary!
Can anyone offer a solution that would put my code where I want it?
....A solution that does not involve make files, command line garb, or fiddling outside the IDE!