Author: Tim Foden
Date: 13:35:35 06/20/02
Go up one level in this thread
On June 20, 2002 at 13:19:32, Gerd Isenberg wrote: >>I'm afriad the above code won't work as intended, as the "btr [edx], eax" line >>will always affect the low 32 bits and never the high 32 bits. >> >>Cheers, Tim. > >mem may be a startaddress of a huge bitarray: (up to 4GBit) > > bt[s|r|c] mem, reg32 >::= bt[s|r|c] mem + reg32/32, reg32%32 OK, this has prompted me to try and find some more info on BTR, as I has assumed (incorrectly) that it would work for a maximum index of 32, and would wrap around to 0 after that without incrementing the target address. I'm afraid that this was my initial understanding from some documentation I read on the net. What you're saying is that, say, "btr [0x1000], 34" will reset bit 2 of the byte at address 0x1004... cool :) Cheers, Tim.
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.