[A86] Re: A86:Ans to data


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

[A86] Re: A86:Ans to data



Be aware that this has unpredicted behavior is Ans is anything but a real 
number.

 ld hl,Ans-1
 rst 20h    ;copy to op1
 rst 10h    ;_findsym
 ld a,b
 ex de,hl   ;put address in ahl
 call _ABS_MOV10TOOP1   ;copy to OP1
 call _CONVOP1   ;put value in a and de
 ld (DataStructure),a  ;copy to memory


Ans: .db 3,"Ans"


In a message dated 4/16/2001 7:22:58 PM Eastern Daylight Time, Rgdtad@aol.com 
writes:


> How do I store the value in 'Ans' to a normal data structure?  What I mean 
> by 
> normal is:  
> DataStructure:
> .db 0
> and then I want to overwrite the 0 with the number in 'Ans.'  Signed would 
> be 
> nice, but not necesary, and writeback is not desired.  



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org