Thank you all, you are right, the mistake was in my code not in DOS kernel.
I don't know why but I thought that LEA fills also DS register.
So I corrected my code and everything runs fine now.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel