Re: A86: Creating Variables


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

Re: A86: Creating Variables




after  _CREATEREAL

	call _op4toop1	;move name to op1
	call _pushop1
	call _op1set4		;load something to op1 (4)
	call _stoother	;store it

-josh

On Fri, 30 Apr 1999 16:05:22 EDT PFMother@aol.com writes:
>
>Recently I have been trying to create a real variable with an assembly 
>
>program, and I have had had some success.  To create the variable, I 
>use:
>
>	ld hl,RealName-1
>	rst 20h
>	call _CREATEREAL
>	ret
>
>RealName:
>	.db 4,"Real"
>
>Now comes the question:  how do I load a value (for example 5) into 
>the 
>variable from within the same assembly program.
>

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