Message-ID: <37B45836.EAD7C82D@swipnet.se> From: Anders David Skarin X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Bit counting? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 Date: Fri, 13 Aug 1999 19:39:02 +0200 NNTP-Posting-Host: 130.244.94.5 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 934566093 130.244.94.5 (Fri, 13 Aug 1999 19:41:33 MET DST) NNTP-Posting-Date: Fri, 13 Aug 1999 19:41:33 MET DST Organization: A Customer of Tele2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, What is the fastest way (or just a damn fast way) to count the nr of binary 1's in a byte/word/dword ? Is there any assembler instruction for this ? (there should be, considering the nr of instructions in the sisc processors) Thanks! David Skarin