Author: Bo Persson
Date: 03:02:48 01/19/99
Go up one level in this thread
On January 18, 1999 at 23:44:01, Larry Griffiths wrote: >My chess program is written in Borland (Inprise) C++ Builder. >C++ Builder comes with TASM (Version 5.x I think). >I am doing some inline assembler using MMX instructions. >The assembler likes MMX opcodes like MOVQ, PAND, and EMMS. >It displays an error message that PSLL is an illegal instruction. >Intel documentation says that PSLL is a shift right logical. > >Has anybody used this instruction with TASM (Turbo Assembler)? Hi Larry! First, PSLL looks more like shift *left* logical :-) Anyway, you have to tell the size of the operands, that is if you are shifting packed words, doublewords or quad words. Use PSLLW, PSLLD, or PSLLQ respectively. (Or PSRLW etc, to shift in the other direction). Bo Persson bop@malmo.mail.telia.com
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.