Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-21 Thread Wayne Werner
On Jul 21, 2011 9:23 AM, "Lisi" wrote: > > On Tuesday 19 July 2011 22:43:40 Alan Gauld wrote: > > Growing to hate my Netbook keyboard more by the day! > > Attach another keyboard? (To keep life simple it would have to be usb, but > you can even get a keyboard that will roll up for carrying. I ha

Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-21 Thread Albert-Jan Roskam
From: Steven D'Aprano Subject: Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'? To: tutor@python.org Date: Thursday, July 21, 2011, 2:56 PM Dave Angel wrote: > Little-endian is the method used by the Intel processor (such as the > Pentium).  Big-endian

Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-21 Thread Prasad, Ramit
>Attach another keyboard? (To keep life simple it would have to be usb, but >you can even get a keyboard that will roll up for carrying. I have neither >seen nor tried one, so it may be no good!) On the plus side, roll-up keyboards tend to be sealed and proof against liquids. Plus, they are u

Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-21 Thread Lisi
On Tuesday 19 July 2011 22:43:40 Alan Gauld wrote: > Growing to hate my Netbook keyboard more by the day! Attach another keyboard? (To keep life simple it would have to be usb, but you can even get a keyboard that will roll up for carrying. I have neither seen nor tried one, so it may be no go

Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-21 Thread Steven D'Aprano
Dave Angel wrote: Little-endian is the method used by the Intel processor (such as the Pentium). Big-endian is the system used by most network protocols, as well as the 68000 and many other processors. There used to be mainframes with various forms of middle-endian layouts. Fortunately they

Re: [Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-20 Thread Dave Angel
On 07/19/2011 05:43 PM, Alan Gauld wrote: Albert-Jan Roskam wrote: > and ctypes to process the data in python. It works now, although I > still want to read more about this. Where does the distinction > little/big endian enter this story? That's to do with which bit in a byte/word is most signif

[Tutor] little/big endian was Re: what is 'doubleword alignment'?

2011-07-20 Thread Alan Gauld
Albert-Jan Roskam wrote: > and ctypes to process the data in python. It works now, although I > still want to read more about this. Where does the distinction > little/big endian enter this story? That's to do with which bit in a byte/word is most significant. e.g. is the decimal value 1 stored