Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: Divide over...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 486 of 500
Post > Topic >>

Re: Divide overflow error

by Jawade <Henk_Jawade@[EMAIL PROTECTED] > Mar 22, 2008 at 08:06 AM

In article <47e45758$0$570$58c7af7e@[EMAIL PROTECTED]
>, Remy <r@[EMAIL PROTECTED]
>
says...
> 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.
 




 2 Posts in Topic:
Divide overflow error
Remy <r@[EMAIL PROTECT  2008-03-22 01:44:58 
Re: Divide overflow error
Jawade <Henk_Jawade@[E  2008-03-22 08:06:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:47:14 CDT 2008.