Replying to a message of James Vahn to Darryl Gregorash:
JV>>> Nope, little endian. AX = AL AH
>>
>> The confusion which arises in this regard constantly amazes
>> me.
JV> You're right, that was confusing. My point was that if Chris
JV> stores a word (or larger) then he needs to realize that it
JV> is actually stored in reverse of how it appears in his
JV> code.
I agree this is a big problem for folx who do not understand the Intel
architecture; I do personally think, however, that little-endian processors
are more "natural" than big-endian ones, since the lowest order bits of any
object, no matter what size, are stored in lower order bits in memory.
I think I still prefer the "right-to-left" description. In fact, if we were
to think of bits in memory in the Intel architecture as beginning at the
bottom right of a "page", and read them off right to left, bottom to top,
then all this confusion would disappear forever.. because then the higher
order elements of any data object _would_ appear on the "page" in the same
order as we write them.
As I said before, it is only when we insist on ordering some things left to
right/top to bottom, but other things right to left, that the confusion
arises.
--- FleetStreet 1.21 NR
---------------
* Origin: BIG BANG Burger Bar: Regina SK Canada (1:140/86)
|