Re: A86: TI-86 ASM HELP!


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

Re: A86: TI-86 ASM HELP!



I think this is how to do it, but I haven't tested it yet (I didn't know 
my senior year would be so busy!)...

46EBh -- create REAL var OP1
store length of var name (1) to (OP1+1)
store name of var to (OP1+2), up to 8 characters [(op1+2) to (op1+9)]

B is the page, DE is where the data is -- I guess you need to convert 
this to AHL (b->a, d->h, e->l) so that you can use 462Fh to change AHL 
(24-bit address) to a 16-bit address put in HL and sets the ram page A
or 4633h to change AHL to HL and put the RAM page number into A.


Hope this helps,
Muhammed


>        I need some help.  I need to store to a user accessible 
variable in
>ASM.  I have a variable called "a" in an ASM program that I need to be 
able
>to tell what the value of it was once I exit the program and return to 
the
>basic program that called it.  I think there is an easy way to store to 
"x",
>so that would be fine.  (I know there is a call "_STOX" in 83 ASM, 
however, I
>have yet to find it in 86 ASM.
>PLEASE HELP IF YOU CAN!
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com