Re: A86: Variables
[Prev][Next][Index][Thread]
Re: A86: Variables
equations are stored in tokenized form, very similar to basic programs.
there should be a length word and then some crud that you need a list of
tokens to figure out
reals are stored the same as in the op registers:
1 byte: sign/flags, bit 7 is sign
1 word: exponent+$fc00 (that's what, -1024?)
7 bytes: digits in bcd
pi = $00,$00,$fc,$31,$41,$59,$26,$53,$58,$98
for complex numbers, bit 1 is set in the flag byte and there's 10 more
bytes with the same format.
-josh
On Fri, 29 Jan 1999 19:37:28 -0500 jdaomteys@juno.com writes:
>
>I'll ask again, only with a slightly different wording this time:
>
>I need to know how the equation variables are stored in memory. I
>can
>get it so that HL is a pointer to the start of the variable in
>memory,
>but I can't figure out HOW it's stored in memory. Same for the reals
>variables. I can get the pointer to the start of the var, but I can't
>figure out how the heck the thing is laid out in memory (where in the
>
>17
>bytes is the actual data that I would want to read?)
>
>--James
>
>___________________________________________________________________
>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]
>
>
___________________________________________________________________
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]