[A86] Re: A86:Ans to data
[Prev][Index][Thread]
[A86] Re: A86:Ans to data
call _rclAns
ret nz ; not real/complex number/constant
call _CONVOP1 ; integer part of op1 to de & a
ld (DataStructure),a ; or ,de if you want a word
If Ans was complex, this gives you the real component, you can then get
the imaginary component by doing this:
call _OP2TOOP1
call _CONVOP1
ld (DataStructure),a
-josh
On Mon, 16 Apr 2001 19:22:16 EDT 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.
>
>
>