Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Re: big-endian mode

2004-07-13 by Joseph Goldburg

-----Original Message-----
From: Leighton Rowe [mailto:leightonsrowe@...] 
Sent: Tuesday, 13 July 2004 12:07 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: big-endian mode


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
> > 
> > 
> > 
> >  
> > 
> > 
> >



Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=1297nkmga/M=295196.4901138.6071305.3001176/
D=groups/S=1706554205:HM/EXP=1089727798/A=2128215/R=0/SIG=10se96mf6/*htt
p://companion.yahoo.com> click here	
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=575741269> 	


  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.