Author: Dave Gomboc
Date: 16:03:59 06/14/98
Go up one level in this thread
On June 14, 1998 at 17:24:29, Robert Hyatt wrote: >On June 14, 1998 at 08:44:10, Dave Gomboc wrote: > >>64-bit architecture: >> >> >> Move B, Reg2 >> Move A, Reg1 >> Reg2 = -Reg2 >> Reg1 ||= Reg2 > > >you also probably meant reg2=compl(reg2). "-" is not a 1's >complement... ie r=1, r=-r does not give what you'd expect, >it gives a word with all bits set... > >However, every processor I know of has a 1's complement operator, so >it doesn't cost any more... > >and is actually probably faster.. Yes, I meant "flip all the bits". Whoops. :) Dave
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.