delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/16/23:57:28

Newsgroups: comp.os.msdos.djgpp
From: Matthias Ho Chui Shiong <chui DOT shiong DOT ho AT sap-ag DOT de>
Subject: order of bytes written to files...
Message-ID: <350EC38F.BD6@sap-ag.de>
Sender: news AT sap-ag DOT de (USENET News System)
Reply-To: chui DOT shiong DOT ho AT sap-ag DOT de
Organization: SAP Asia (Singapore)
Mime-Version: 1.0
Date: Tue, 17 Mar 1998 18:40:15 GMT
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, i am matthias. I have a problem.

   when i write the long value 49478 to a binary file using borland as
the compiler, the hexa 
   content of the file turn out to be 46 C1 00 00 which is out I want.

   However when I compile the same program under RHIDE with only
compiler option -m486, the 
   result written to the binary file is 00 00 46 C1.  

   Can someone one plse advise me on this.

   Thank you very much.

- Raw text -


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