RE: A86: > frac


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

RE: A86: > frac




Thanks Pat.

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

-----Original Message-----
From: owner-assembly-86@lists.ticalc.org
[mailto:owner-assembly-86@lists.ticalc.org]On Behalf Of Pat Milheron
Sent: Wednesday, August 12, 1998 1:58 PM
To: assembly-86@lists.ticalc.org
Subject: A86: > frac



Ahmed here it is for the 86.



;
;---------------------------------------------------------
;   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            4B93h

Later,
Pat


References: