Re: A86: More (sqrt) KEY questions
[Prev][Next][Index][Thread]
Re: A86: More (sqrt) KEY questions
What I did before had the token before the .org. So I moved it back and
decremented _asm_exec_ram by 2. It would seem that this is the same
thing, but the problem was that the first time, when I subtracted code
from code_end to get the length, the labels code and code_end had
different .orgs, making the length of the program negative. So, I moved
the second .org back and was able to create a new label (code_start)
that's used to get the true length.
Matt Johnson wrote:
>
> Ok I see what you did..
>
> this lets you access the token with a fixed 16-bit address and still has
> the code
> starting at $D748
>
> What you had before (without the -2) still worked didnt it? You just
> couldnt use the label to access the token if you ever needed a fixed
> 16-bit pointer to it. Am I correct??
>
> -Matt
> http://www.dogtech.com/cybop/ti86/
References: