[A86] Re: Variables


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

[A86] Re: Variables




The lenght of a varible is stored as a 16 bit number, giving a maximum of 65536 
bytes.

To get the free space in the calc's memory you have to use the rom call _MEMCHK 
($46BB), giving you the number of free bytes to ahl (three 8 bit registers are 
needed since you can have more than 65536 bytes free).

Now I've got to get some food, and if no one have explained the difference 
between different programs I'll do it when I've eaten.



Written by visaei@jippii.fi:
> 
> Hi everybody!
> Asm is quite new thing for me and i've just
> learned to use variables. Now i have some questions.
> How long can string and program variables be?
> How can i test how much there is free space for
> variable use? whats the different between different
> program variables(basic,asm,tokenized...)?
> please answer quick!
> Visa.
> __
> Ota itsellesi luotettava kotimainen email http://www.jippii.fi/
> Tutustu samalla netin parhaaseen pelipaikkaan JIPPIIGAMESIIN.
> 
> 



References: