Re: A86: Re: getting _randint to work


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

Re: A86: Re: getting _randint to work




Ahh, now I understand. Store the lower bound in OP1 and the upper bound in
OP2 and it works perfectly. It has absolutely nothing to do with the
floating point stack.

It's anyone's guess what he meant by FPST.

-----Original Message-----
From: Dux Gregis <assets@eden.rutgers.edu>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, March 21, 1998 12:42 PM
Subject: Re: A86: Re: getting _randint to work


>
>
>
>Jeremy Goetsch wrote:
>
>> The value stored in _FPS is the 16-bit address in RAM page 1 of the top
of
>> the floating point stack. E.g., if there are no floating point operations
in
>> progress, the value is the same as in _FPBASE, which is $0000, since the
>> floating point stack starts at the beginning of ram page 1.
>>
>> I assume that he does not mean for you to load the value into (_FPS)
itself,
>> but into the top of the floating point stack on RAM page 1.
>> I guess it would be stored in the same format as an OP, not sure though.
>
>The call came from one of the Pede files.  Pat refers to the second end
point as
>FPST and I just assumed he meant _FPS.  Look at the ti86math.inc that comes
with
>pede; there might even be an example.
>


Follow-Ups: