[A83] Re: Help....!


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

[A83] Re: Help....!




_divhlbya returns the remainder in "a", so you could use this to show 
fractions (disp a with hl below). Also, you can use op1 etc.
                  Nick Reichert


----Original Message Follows----
From: SOCCERK121@aol.com
Reply-To: assembly-83@lists.ticalc.org
To: assembly-83@lists.ticalc.org
Subject: [A83] Help....!
Date: Fri, 16 Mar 2001 17:40:29 EST
MIME-Version: 1.0
Received: from [195.67.128.9] by hotmail.com (3.2) with ESMTP id 
MHotMailBC7BE18A00164004311AC34380090CBD0; Fri Mar 16 14:41:36 2001
Received: from towerguard. (mx-1.sollentuna.net [195.67.128.9])by 
mx-1.sollentuna.net (Postfix) with ESMTPid 5791B1801F; Fri, 16 Mar 2001 
23:40:51 +0100 (CET)
Received: with LISTAR (v1.0.0; list assembly-83); Fri, 16 Mar 2001 23:40:51 
+0100 (CET)
Received: from imo-m06.mx.aol.com (imo-m06.mx.aol.com [64.12.136.161])by 
mx-1.sollentuna.net (Postfix) with ESMTP id 66BA018004for 
<assembly-83@lists.ticalc.org>; Fri, 16 Mar 2001 23:40:47 +0100 (CET)
Received: from SOCCERK121@aol.comby imo-m06.mx.aol.com (mail_out_v29.5.) id 
z.c1.c797b8e (4072) for <assembly-83@lists.ticalc.org>; Fri, 16 Mar 2001 
17:40:29 -0500 (EST)
>From assembly-83-bounce@lists.ticalc.org Fri Mar 16 14:42:34 2001
Delivered-To: lists.ticalc-assembly-83@mx-1.sollentuna.net
Message-ID: <c1.c797b8e.27e3f05d@aol.com>
X-Mailer: AOL 3.0 for Windows 95 sub 76
X-listar-version: Listar v1.0.0
Sender: assembly-83-bounce@lists.ticalc.org
Errors-To: assembly-83-bounce@lists.ticalc.org
X-original-sender: SOCCERK121@aol.com
Precedence: bulk
X-list: assembly-83


(clines) is one byte
(lines) is one byte
I need to create the following math problem:

(clines) / (lines) * 32 + 21

clines <= lines    <--- always

the only problem is, _divHLbyA orounds to nearest integer, so it will always
be 0 or 1, considering (clines)/(lines) <1.  Please help.  Thanks

-Joel



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com