[A83] Re: call hl


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

[A83] Re: call hl




Thats a really bad habit to get into.  Unless something is a romcall, you
can't be guaranteed that TI will put that same code in the same location.
On a different rom, there might be a different instruction.  You can look at
all roms made up to this date and say its compatible up to a certain rom
version, but you can't guarantee that it won't change on a future rom
version.  In this case we're talking about a single byte, thats ridiculous
that you'd take such a risk over one byte.

Brandon Sterner
----- Original Message -----
From: "Patai Gergely" <patai.ti@freemail.hu>
To: <assembly-83@lists.ticalc.org>
Sent: Saturday, April 27, 2002 1:05 PM
Subject: [A83] Re: call hl


>
> > On the Ti83(-) a "jp (hl)" is located at $52E8, as long
> as you haven't
> > changed that ROM-page.
>
> Hmmm... "jp (hl)" is simply $E9. I'm sure you can find
> other $E9's in the memory at a safer location. :D
>
> PG
>
>
>
>




Follow-Ups: References: