[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Big end little end thingie
From: |
Anton Erasmus |
Subject: |
Re: [avr-gcc-list] Big end little end thingie |
Date: |
Sat, 12 Jan 2002 09:26:19 +0200 |
Date sent: Fri, 11 Jan 2002 18:14:56 -0500 (EST)
From: RogerB <address@hidden>
To: AVR GCC List <address@hidden>
Copies to: AVR GCC List <address@hidden>
Subject: Re: [avr-gcc-list] Big end little end thingie
>
>
>
> > >
> >
> > I have found the display of memory in AVR studio to be very
> > confusing. When switching between byte and word display - one of
> > them is definately in the wrong order. What version of avr-gcc are
> > you using? The earlier versions of avr- gcc generated "incorrect"
> > (Byte swapped) srec files, so that they could be used with the
> > Atmel/Kanda software provided with the STK200/300.
> >
> > With the latest avr-gcc for windows from the avfreaks.net site I get
> > the following intel hex file:
> >
> > :100000000C94A1000C94BF000C94BF000C94BF0092
> >
> > and the following srec file:
> >
> > S2140000000C94A1000C94BF000C94BF000C94BF008D
> >
> > Both are correct and consistent.
> >
> > Regards
> > Anton
>
> I'm using avr-gcc 3.0.2. The results look
> like yours but the list file is incorect for the
> 2313. It say that the first instruction is a load.
> I don't have a board right now to test it on.
>
>
Hi,
Did you generate the list file for the gcrt1.s assembly file ? In my C
file the first instruction in the list file is a load. (First instruction in
main) The first instruction in the gcrt1.s file is a jump.
Regards
Anton
avr-gcc-list at http://avr1.org