>>3). "LES DI,mem" loads ES:DI with the 32-bit pointer value stored at
>>[mem], not the address of mem itself.

> The "LES, DI, a" instruction that I have give as a 
> correct/alternative instruction will do exactly what is intended, 
> setting ES:DI to the address of the buffer that us to be filled with 
> the function call...
definitively not.

   LES, DI, a

will load ES:DI with the *content* of a, not the address of a

  some compilers (MSC, TurboC) accept

  mov ax, seg a
  mov es, ax
  lea di, a



Tom


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to