Re: A86: getting op1 into a and more


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

Re: A86: getting op1 into a and more




_sto		equ $4cbf
_rcl		equ $4ce7

to store to a variable:
	rst $18	;push op1 to fps
	ld hl,varname-1
	rst $20	;load var name to op1
	call _sto	;store it

to recall from a variable:
	ld hl,varname-1
	rst $20	;load var name to op1
	call _rcl

-josh

On Thu, 14 Jan 1999 09:31:18 EST Jeanne9005@aol.com writes:
>
>First, how do I use an on-calc variable in my program?  Second how do 
>I get
>OP1 into a.  Third how do I get a into the on-calc variable?  I don't 
>mean a
>.db variable, I mean a variable that will stay on the calc after the 
>prog is
>done running...
>
>Glen
>

___________________________________________________________________
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]