[A83] Re: TI-OS resumes


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

[A83] Re: TI-OS resumes




Was it actually hl, or was it just a 16 bit place somewhere?  If it was hl, 
calling could really screw things up (not that you should depend on 
registers around calls and jps :-)

At 07:37 PM 8/22/2001 +0000, you wrote:

>The other day it was mentioned that when a label is called,
>it stores the ram location of the call xxxx in hl and the pushes
>it. And ret then pops hl, increments it and then goes there,
>So I though, when a prgm is executed like call prgm,
>the only thing I should do is to pop hl and in hl would be
>where the TI-OS in the ram or rom is working.
>
>       SUCKER
>
>
> >Wait, wait, what are you referrring to?
> >
> > > About the pop hl in the beginning of a prgm,
> > > this isn't right. It would be 529Eh (TI-83-).
> > > I was thinking for a while asm programs were
> > > executed like call xxxx, but they use _exec_assmebly
> >AFAIK, _exec_assembly just clears out the ram at the progstar location, and
> >then calls the program.
> >
> >(well, actually I believe it pushes some return address onto the stack,
> >and then jp's to 9327h, but that's a different story, with the same effect
> >to
> >the programmer)
> >
> >
> > > and I don't know how I should get the place in the ram
> > > where this code will be executed out of a romcall...
> > >
> > >       SUCKER
> > >
> > > (next time think first???)
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp
> > >
> > >
> > >
> >
> >
> >
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





References: