Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: inline __asm in MSVC

Author: Georg v. Zimmermann

Date: 06:35:25 01/21/02

Go up one level in this thread


You are quite right to be picky. Annotations dont make sense when they are
wrong.
For the first mistake I have an excuse: I just rewrote it, firstSquare used to
be part of the struct bitboard and therefore really didnt need input :)

Georg


On January 21, 2002 at 09:07:41, Daniel Clausen wrote:

>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.