Mail Archives: djgpp/1996/11/15/07:00:24
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: <this space for rent> |
---------------------------------------------------------------------
- Raw text -