Date: Fri, 08 Nov 1996 17:31:34 +0000 From: Bill Currie Subject: Re: AT&T syntax To: votava AT worldnet DOT fr Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <32836E76.61A6@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <32826B1B DOT 33A AT worldnet DOT fr> Christian Votava wrote: > > I have some problems with at&t syntax: > > how to repeat STOSB with CX ? > > REP > STOSB > > use the register ECX. So, is it possible to use CX ? I'm not absolutly certain, but I think if you put an opcode size prefix befor the rep, CX will be used instead. .byte 0x66 rep stosb I think if you use the address size prefix (0x67), you will be able to use SI and DI instead of ESI and EDI. Hope this helps Bill -- Leave others their otherness.