home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / programm / 2045 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  797 b 

  1. Path: sparky!uunet!uunet!not-for-mail
  2. From: avg@rodan.UU.NET (Vadim Antonov)
  3. Newsgroups: comp.programming
  4. Subject: Re: finding 1st one in integer
  5. Date: 21 Jul 1992 21:59:04 -0400
  6. Organization: Berkeley Software Design
  7. Lines: 9
  8. Message-ID: <14ifd8INNi6k@rodan.UU.NET>
  9. References: <1992Jul21.173805.12045@bcrka451.bnr.ca> <14hsk4INNke@rodan.UU.NET> <1992Jul21.165726@is.morgan.com>
  10. NNTP-Posting-Host: rodan.uu.net
  11.  
  12. In article <1992Jul21.165726@is.morgan.com> berlin@is.morgan.com (Alexander Berlin) writes:
  13. >Vadim, you are assuming Big Endian, aren't you?
  14. >The original article asked for PORTABLE code. ">>=" depends on byte order.
  15.  
  16. Oops, it doesn't. Loading from and storing to memory does. My code
  17. use the only 8-bit data memory access - which presumeably do not depend
  18. on endianness :-)
  19.  
  20. --vadim
  21.