Mail Archives: djgpp/1996/11/15/17:42:08
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.
- Raw text -