home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9348 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.2 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!elroy.jpl.nasa.gov!usc!rpi!batcomputer!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!news
  2. From: CHEGC@LURE.LATROBE.EDU.AU (CROSS,Graeme)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Floating point conversion in asm
  5. Message-ID: <1992Sep14.045913.24593@lugb.latrobe.edu.au>
  6. Date: 14 Sep 92 04:59:13 GMT
  7. Sender: news@lugb.latrobe.edu.au (USENET News System)
  8. Organization: La Trobe University
  9. Lines: 15
  10. X-News-Reader: VMS NEWS 1.24
  11.  
  12.  
  13. I am trying to convert a 32 bit floating point number (what Turbo Pascal calls
  14. SINGLE type) to an ASCIIZ string in 8086 assembler. I have the format of the
  15. number: 1 bit sign, 8 bit exponent, 23 bit mantissa, but have not been able to
  16. convert a sample number to its real value - not even manually.
  17. Would someone be so kind as to give me some pointers on decoding 32-bit floating
  18. point numbers, in assembler? Information on determining the value, or even
  19. source code, would be greatly appreciated.
  20.  
  21. Thanks.
  22.  
  23. Graeme Cross         | chegc@lure.latrobe.edu.au
  24. Dept of Chemistry       | One day, by accident or magic, a sig will  
  25. LaTrobe Uni, Bundoora   | just mysteriously appear here, sparing me  
  26. Victoria, Australia     | the task of creating my own clever sig...  
  27.