| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 30 Jan 1997 09:39:08 +0000 |
| From: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
| 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 |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |