Quote Originally Posted by matsp View Post
If you use a 16-bit compiler, chances are that it doesn't know about 386 instructions, such as XOR EAX, EAX.

It's been a long time [say 15+ years] since I used any Borland compiler, so I can't really say what it can and can't do.

Why do you want to do this in DOS? I'm guessing you are actually running Windows on the machine, so compiling this as a console app for Windows would relieve any problems of using 32-bit register instructions.
--
Mats
i already tried to compile this code with VC++ as console app for windows but i have the probleme and someone advice me to use BC++ so for this reason ,,,,
and for the code how i can resolve it ?