Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: FirstBit() in assembler

Author: David Rasmussen

Date: 13:32:01 01/13/02

Go up one level in this thread


On January 13, 2002 at 13:20:52, Dan Newman wrote:

>On January 13, 2002 at 08:48:13, David Rasmussen wrote:
>
>
>I do something like this (Dann Corbit's trick):
>
>        bsf eax dword ptr bitboard+4
>        add eax 32
>        bsf eax dword ptr bitboard
>

I get it now... Is there a similar trick for a "LastBit()" function?

/David



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.