[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


This is great! So when you pop hl in the beginning of a
prgm, you would know where the code is that resumes the
TI-OS !!!!

    SUCKER

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Follow-Ups: