Thanks Paul,
I wasn't aware of little-endian mode until I was reading large union
buffers like:
union {char a[32]; short b[16];};
While debugging, the storage order for array "b" seem to be the
reverse of array "a". This kinda affected my command parsing
routines, which assumed that the words read were big-endian. Oh
well, there goes my chance of reading large word buffers with ease.
Leighton
--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@r...> wrote:
> It's fixed little-endian. No big-endian mode, sorry.
>
> -- Paul.
>
> > -----Original Message-----
> > From: Leighton Rowe [mailto:leightonsrowe@y...]
> > Sent: 12 July 2004 13:35
> > To: lpc2000@yahoogroups.com
> > Subject: [lpc2000] big-endian mode
> >
> > I understand that lpc21xx configures arm7 processor to work
> > in little-endian mode.
> >
> > Is it possible to change that around so that the processor
> > works in big-endian? If yes, how?
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~-->
> > Yahoo! Domains - Claim yours for only $14.70
> > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dN_tlB/TM
> > --------------------------------------------------------------
> > ------~->
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >Message
Re: big-endian mode
2004-07-12 by Leighton Rowe
Attachments
- No local attachments were found for this message.