Article View: comp.os.msdos.programmer
Article #1500Floating point conversion in asm
From: CROSS,Graeme
Date: Mon, 14 Sep 1992 04:59
Date: Mon, 14 Sep 1992 04:59
15 lines
1281 bytes
1281 bytes
I am trying to convert a 32 bit floating point number (what Turbo Pascal calls SINGLE type) to an ASCIIZ string in 8086 assembler. I have the format of the number: 1 bit sign, 8 bit exponent, 23 bit mantissa, but have not been able to convert a sample number to its real value - not even manually. Would someone be so kind as to give me some pointers on decoding 32-bit floating point numbers, in assembler? Information on determining the value, or even source code, would be greatly appreciated. Thanks. Graeme Cross | chegc@lure.latrobe.edu.au Dept of Chemistry | One day, by accident or magic, a sig will LaTrobe Uni, Bundoora | just mysteriously appear here, sparing me Victoria, Australia | the task of creating my own clever sig...
Technical Details
Message-ID:
<1992Sep14.045913.24593@lugb.latrobe.edu.au>Path:
arc1-ca.pugleaf.net!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!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: CHEGC@LURE.LATROBE.EDU.AU (CROSS,Graeme) Newsgroups: comp.os.msdos.programmer Subject: Floating point conversion in asm Message-ID: <1992Sep14.045913.24593@lugb.latrobe.edu.au> Date: 14 Sep 92 04:59:13 GMT Sender: news@lugb.latrobe.edu.au (USENET News System) Organization: La Trobe University Lines: 15 X-News-Reader: VMS NEWS 1.24