From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: at&t assembler LDS and LES Date: Thu, 14 Nov 1996 19:30:41 -0800 Organization: Three pounds of chaos and a pinch of salt Lines: 24 Message-ID: <328BE3E1.F2F@cs.com> References: <56feda$qal AT ci DOT ist DOT utl DOT pt> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp108.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "LUCIANO BARBOSA TAROUCO(leic)" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp LUCIANO BARBOSA TAROUCO(leic) wrote: > > 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. In 32-bit protected mode, segments are not used and are therefore unnecessary. I think you should post the entire fragment of assembly that causes the error messages, because if you are doing this it's likely you are doing other things which are illegal in DPMI. I could be wrong though, because I don't know much assembly. :) -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Plan: To find ANYONE willing to | http://www.cs.com/fighteer | | play Descent 2 on DWANGO! | Tagline: | ---------------------------------------------------------------------