Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: FirstBit() in assembler

Author: Severi Salminen

Date: 12:12:30 01/13/02

Go up one level in this thread


>I do something like this (Dann Corbit's trick):
>
>        bsf eax dword ptr bitboard+4
>        add eax 32
>        bsf eax dword ptr bitboard
>

I'm doing allmost the same, but is it _certain_ that the 2nd bsf _never_ alters
eax if nothing is found? Why don't they write "unaffected" but "undefined"???Can
someone confirm this?

Severi



This page took 0 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.