Re: A86: input of a #


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

Re: A86: input of a #






Glen Solsberry wrote:

> how do i prompt the user for a number????  say i want them to tell me
> how much money they have in the bank, how would that work....then, how
> do i use that in specific formulas????

 ld de,_ioprompt ld hl,prompt
 call _mov10B ld a,13 ld (ASAP_IND),a
 call _exec_pg3

prompt:
"$=?",0

>  also, how do i plug the e^x
> thingy into a register????  what i mean is the 2.7181828.... thanx

from ti86math.inc:

_ETOX           equ            54D4h            ; op1 = e^op1

If you want just e then

 call _op1set1
 call _etox


>
>
> Glen
> http://www.geocities.com/siliconvalley/vista/2900
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com




References: