[A83] Re: call, stack adresses and free space


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

[A83] Re: call, stack adresses and free space




When you make a call, it's more like this:

push pp
jp xxxx

Likewise, a ret is like this:

pop <rr> ;16 bit register
jp <rr>

So, if you do something like this:

ld hl,bob
push hl
ret

it would be like

jp bob

At 05:20 PM 8/20/2001 -0400, you wrote:

>Hello everyone,
>I've got a few questions for you:
>
>-Could anyone tell me how the adress a call is made from is stored?
>-Where I can find that information?
>-How much, if any, space is reserved for this?
>-Same questions for numbers you push onto the stack.
>
>-May I assume that the free memory you've got on your calc is one line of
>bytes, running up from $9327 to where your first program is stored?
>
>These are all TI-83 questions. Thanks.





Follow-Ups: References: