home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / msdos / programm / 2964 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  777 b 

  1. Path: sparky!uunet!usc!chaph.usc.edu!aludra.usc.edu!not-for-mail
  2. From: mduffy@aludra.usc.edu (Michael Duffy)
  3. Newsgroups: alt.msdos.programmer
  4. Subject: This is strange, div doesn't work....
  5. Date: 16 Dec 1992 22:30:33 -0800
  6. Organization: University of Southern California, Los Angeles, CA
  7. Lines: 13
  8. Sender: Michael Duffy (mduffy@aludra.usc.edu)
  9. Message-ID: <1gp6q9INNgdd@aludra.usc.edu>
  10. NNTP-Posting-Host: aludra.usc.edu
  11.  
  12. I hope someone can help me, 'cause I'm at a loss.
  13.  
  14. The following code gives me a divide error:
  15.  
  16.  mov  ax,0035h
  17.  mov  dx,01h
  18.  div  dx
  19.  
  20. It should work.  I don't know why it doesn't.  Could some assembly language
  21. genius please show me the light?  E-mail please since I don't check this
  22. group very often.  Thank you much,
  23. Michael Duffy (mduffy@aludra.usc.edu)
  24.  
  25.