Date: Thu, 30 Jan 1997 09:39:08 +0000 From: Bill Currie Subject: Re: assembler question To: markiv AT rangenet DOT com Cc: nikki AT gameboutique DOT co, djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <32F06C3C.265E@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <5cltef$2l1 AT flex DOT uunet DOT pipex DOT com> <32EEE110 DOT 20FC AT rangenet DOT com> Dan Hedlund wrote: > > try : movw (,%%ebx,2),%%ax > Better: movw (%%ebx.%%ebx,1),%%ax Omitting the base register requires an offset (1 or 4 extra bytes) which can (if I'm not mistaken) cause pairing problems on a pentium if the %ax register is replaced with a constant (and the operand reversed of course). Bill -- Leave others their otherness.