Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: inline __asm in MSVC

Author: Daniel Clausen

Date: 06:07:41 01/21/02

Go up one level in this thread


Hi

On January 21, 2002 at 08:45:48, Georg v. Zimmermann wrote:

>/* Function: firstSquare
> * Input:    None
> * Output:   A square
> * Purpose:  Used to get the lowest square that is set in a bitboard.
> */

>inline int firstSquare (qword a)

Input none, huh? ;)


[snip]


>/*
> * Function: removeAttacks
> * Input:    A color and a bitboard of squares
> * Output:   None.
> * Purpose:  Decrements the attacks array on squares that a piece attacks
> *
> */
>
>void boardStruct::removeAttacks(color c, piece p, square sq)

Input is a bitboard of squares, huh? :)


Sorry to be that picky. :) But I couldn't resist. :))

Sargon



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.