A85: Fw: OP registers


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

A85: Fw: OP registers





----- Original Message -----
From: Dines Justesen <dines@resnet.gatech.edu>
To: <assembly-85@lists.ticalc.org>
Sent: Monday, January 18, 1999 3:09 PM
Subject: Re: OP registers


>The OPs are used by the TIOS to store FP numbers and information about
>varialble. The math functions in the ROM either use the OPs or the FP
Stack.
>Page 0 of the ROM contains some "simple" math functions
>(add,sub.mult,div,sin,cos etc) and the functions needed to move data
to/from
>the regs/stack. The other math functions which the TIOS uses are placed on
>the other ROM pages and are harder to use.
>
>The only problem in using the OPs is that you need to know how to call
them,
>which might be hard to do using Usgard. On the TI82 I have made some test
>programs which uses the registers, the math functions and the build in
error
>handler to handle errors. And as long as you can call the math functions,
it
>is very easy to use. On the TI82 using the OPs is possible because Ash 3.1
>includes the nesecary code to call all the needed functions. The problem on
>the TI85 is that neither Usgard or any other shell supports these
functions.
>
>Since the shells does not support the calls you either have to write the
>functions needed to take care of the different ROM versions yourself, or
>your program will only work on one ROM version. Sometime ago a french guy
(i
>don't remember his name) wrote an assembly program which converted the
>number in ANS to a fraction (it included square roots!). The program only
>work for ROM version 4 (I converted it to work with version 3.0), and it
did
>not work on all numbers (he didn'¨t know where the round function was in
the
>ROM). So using math function is possible on the TI85, but until someone
>writes a shell which supports the needed functions it is going to be hard
to
>write programs which uses them.
>
>Dines
>
>BTW the addr of all the simple math functions found in the ROM was released
>quite a long time ago in the file math.10.
>----- Original Message -----
>From: Justin M Bosch <justin-b@juno.com>
>To: <assembly-85@lists.ticalc.org>
>Sent: Monday, January 18, 1999 1:44 PM
>Subject: A85: OP registers
>
>
>>
>>I was looking at usgard.h, and I noticed the OP registers.  I heard that
>>on the TI-86 they are used for math operations.  Can they be used on the
>>TI-85 in the same manner?  In all of the tutorials and source that I have
>>read, I have never seen them mentioned before.  Thank you.
>>
>>Justin Bosch
>>justin-b@juno.com
>>
>>___________________________________________________________________
>>You don't need to buy Internet access to use free Internet e-mail.
>>Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
>>or call Juno at (800) 654-JUNO [654-5866]
>>
>>
>



Follow-Ups: