Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: private % lessons - oups

Author: Gerd Isenberg

Date: 01:20:57 09/17/03

Go up one level in this thread


... and sub rax, rcx of course
otherwise the result is always zero ;-)

    mov  rax, [node]
    mov  rcx, [rax.m_PawnBB + 0]  ;  white pawns
    sub  rcx, [rax.m_PawnBB + 8]  ; -black pawns
    mov  rax, 0x000103cd3ddab652  ; (((2^64)+64577-1)/64577)
    mul  rcx

    mov  rax, 64577
    mul  rdx
    sub  rax, rcx
    and  rax, 0x0ffff




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.