RE: A83: Most Wanted Question


[Prev][Next][Index][Thread]

RE: A83: Most Wanted Question




Pat, what's the 86 equivelent of that? [is there also one, I'll look at
ti86asm.inc in the meanwhile..]
					-Ahmed

--
Ahmed El-Helw
ahmedre@bellsouth.net
http://asm8x.home.ml.org
ICQ: 3350394

-----Original Message-----
From: owner-assembly-83@lists.ticalc.org
[mailto:owner-assembly-83@lists.ticalc.org]On Behalf Of Pat Milheron
Sent: Wednesday, August 12, 1998 12:57 PM
To: assembly-83@lists.ticalc.org
Subject: Re: A83: Most Wanted Question



Here it is.


;---------------------------------------------------------
;   TOFRAC : CONVERT DECIMAL NUMBER TO FRACTION.         |
;            NUMERATOR / DENOMINATOR.                    |
;                                                        |
;           INPUT : OP1 = DECIMAL NUMBER                 |
;                                                        |
;           OUTPUT : IF SUCCESSFULL :                    |
;                                                        |
;                    OP1 = NUMERATOR                     |
;                    OP2 = DENOMINATOR                   |
;                    CA = 0                              |
;                                                        |
;                    IF NOT SUCCESSFULL :                |
;                                                        |
;                    OP1 = ORIGINAL INPUT                |
;                    CA = 1                              |
;                                                        |
;           USES : OP1 TO OP6                            |


_TOFRAC            equ           48D5h


Later,
Pat

------------------
Original text

From: "Anders Jensen" <a_h_jensen@hotmail.com>, on 8/11/98 11:25 PM:

How do you convert fp numbers to fractions?

Anders

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



References: