Re: LZ: variables
[Prev][Next][Index][Thread]
> > >Ok, I have a few questions on this one. Is there a list or some help files
> > >on these rst instructions? I have personally never used them or even known
> > >what they do. They might be in ti-ram or ti-rom.txt, but if they are I don't
> > >think that they work with roms 9.0 or above (since I have 9.0...would it
> > >even work on my calc? That does bring up a portability problem if not).
> >
> > Instructions are dependent on the processor, not the ROM version. All valid
> > Z80 instructions should work with any ROM version.
>
>
> Yes, but since rst instructions are interrupts and can be vectored,
> they can do different things in different roms.
>
No, they aren't really interrupts as such .. (you're thinking of interrupt mode
0, in which the peripheral will send an RST instruction to the
processor) (I guess you coudl veiw tehm in teh same light as SWI's on
later processors, but the Z80 doesn't actually treat RST's as
interrupts, just calls)
But you are quite right, they could do different things on different
roms (remember kids, RST 10h = CALL $10, etc.)
Rob Taylor MAIL - mailto:rtaylor@rtaylor.u-net.com
WEB - http://www.u-net.com/~rtaylor/
References: