Discussion:
Divide overflow error
(too old to reply)
Remy
2008-03-22 00:44:58 UTC
Permalink
If I run this code. it gives me a divide overflow error.

mov eax,785BECh
mov ebx,3Fh
div ebx ; Here the error

I dont understand it. It is in the W98 DOS.
Jawade
2008-03-22 07:06:21 UTC
Permalink
Post by Remy
If I run this code. it gives me a divide overflow error.
mov eax,785BECh
mov ebx,3Fh
div ebx ; Here the error
I dont understand it. It is in the W98 DOS.
You have to make edx zero, it's the high part, and eax the low
part.
--
Met vriendelijke groeten, Jawade. Weer veel vernieuwd!
http://jawade.nl/ Met een mirror op http://jawade.fortunecity.com/
Bootmanager (+Vista +Linux), ClrMBR, DiskEdit (+Linux), POP3lezer,
DOS-Filebrowser, Kalender, Webtellers en IP-log, USB-stick tester.
Loading...