Endianess Handling.

2006-04-16 Thread Ralph Corderoy
Hi, Can anyone remind me where arcem handles endianess, e.g. when storing words and then loading bytes. I've had a quick look but can't remember enough to locate it. Cheers, Ralph. --- This SF.Net email is sponsored by xPML, a groundbrea

Re: Endianess Handling.

2006-04-16 Thread Dr. David Alan Gilbert
* Ralph Corderoy ([EMAIL PROTECTED]) wrote: > > Hi, > > Can anyone remind me where arcem handles endianess, e.g. when storing > words and then loading bytes. I've had a quick look but can't remember > enough to locate it. Hi Ralph, This took me a few minutes to remember - the simple answer is

Re: Endianess Handling.

2006-04-16 Thread Ralph Corderoy
Hi Dave, > This took me a few minutes to remember - the simple answer is it > avoids it for everything internal. > > The memory is represented by a *word* array (MEMC.PhysRam) that gets > accessed by normal C array operations and is thus held in host > endianness. Yep, saw that bit. > Byte acc