www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/12/05:45:24

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 12 Feb 1996 10:36:34 GMT
Subject: Re: GRXlib question

  Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT d400 DOT de> wrote:-
> It looks like you just swapped the high and low byte. With Intel x86 series
> processors, the memory representation of a multi-byte variable looks like
>   base+0  ....  base+n
>    low    ....  high byte

This order of the bytes of a multi-byte value is called "little-endian". The
opposite order (as in old mainframes and in ordinary printer numbers on paper)
is called "big-endian".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019