Re[2]: A86: Oh My God, An ON-Topic Post!
[Prev][Next][Index][Thread]
Re[2]: A86: Oh My God, An ON-Topic Post!
Now that I thionk about it, it wouldn't have to be an on-calc var,
just an equation to plug two numbers into. Is there an easier way to
do this?
Glen
tutorial1.cjb.net
______________________________ Reply Separator _________________________________
Subject: Re: A86: Oh My God, An ON-Topic Post!
Author: <assembly-86@lists.ticalc.org> at Internet
Date: 1/20/00 10:44 AM
get the compiled form with vti, then store it in your program with .db's,
say:
.db $05,$00,$15,$33,$45,$67,$02
not that this example is actually anything, but the first two bytes
should be the length word.
load that first word to hl and add two, use that to create the var, then
use it again with _mm_ldir or an equivelant routine to copy it into the
var. like:
ld hl,(lengthword)
inc hl
inc hl
call _SET_MM_NUM_BYTES
ld hl,lengthword
xor a
call _SET_ABS_SRC_ADDR
;;; create the var and get it's address to ahl
;;; i don't wanna look this up right now :P
call _SET_ABS_DEST_ADDR
call _mm_ldir
-josh
On Thu, 20 Jan 2000 12:29:21 EST Jeanne9005@aol.com writes:
>
>Ok, now I'm confused. I know the equations that I want to use, but
>I'm confused as to how to get them into y1 via string input.
>
>Glen
>tutorial1.cjb.net
>
>In a message dated Thu, 20 Jan 2000 10:51:00 AM Eastern Standard Time,
>rabidcow@juno.com writes:
>
>>
>> delete y1 if it exists
>> create it as an equ of the proper size (remember leading size word)
>> copy the equation (either compiled, or just as a string) into it
>>
>> if you don't copy it compiled, i think you might have to compile it
>after
>> you copy it there. if you know te equation you want to use ahead
>of
>> time, store it to y1 in vti, then copy the data into your source.
>if
>> you're gonna input the equation, you'll probly need to use
>_COMPILE...
>>
>> -josh
>>
>> On Thu, 20 Jan 2000 09:29:18 EST Jeanne9005@aol.com writes:
>> >
>> >How do I store an equation into y1? Like, I want to store
>> >SQRT(x^2-y^2) into y1, but the only thing I can think of would be "
>
>> >" (that's a blank for those who don't know). Can anyone help?
>> >
>> >Glen
>> >tutorial1.cjb.net
>> >
>>
>> ________________________________________________________________
>> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
>> Juno now offers FREE Internet Access!
>> Try it today - there's no risk! For your FREE software, visit:
>> http://dl.www.juno.com/get/tagj.
>
>
>
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.