Date: Sat, 16 Nov 1996 11:17:30 +0000 From: Bill Currie Subject: Re: at&t assembler LDS and LES To: "LUCIANO BARBOSA TAROUCO(leic)" Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <328DA2CA.7DE9@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <56feda$qal AT ci DOT ist DOT utl DOT pt> LUCIANO BARBOSA TAROUCO(leic) wrote: > > I have a little problem with the at&t assembly under DJGPP > > I try to use the operations LDS and LES which are suposed to > load the segment part of a pointer to DS and ES respectively > but when I compile the program, GCC says something like this: > > "the operands dont match any 386 operation" > > I am sure that these operations exist because they are documented > in various assembly books. > > Please Help Me............... > > try (eg) lesl dpointer,%edi ldsl spointer,%esi which register you use does'nt realy matter, I'm just assuming you want this for the string instructions. BTW rep is used one of two ways is gas eg rep movs or rep; movs note the semi colon Hope this helps Bill -- Leave others their otherness.