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