[A83] Re: RST Command


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

[A83] Re: RST Command




It's actually quite simple, it's a hard coded instruction,
available only to adresses 0h,8h,10h,18h,20h,28h,30h and 38h (maybe some
more, but I thing this is it).

What it does is simply "call [address]", and TI put a few often used 
routines (including bcall on the 83+/SE) in them...
So you can use a rst routine instead of the bcall, and save 2 bytes in
your program....

On Sat, 9 Feb 2002, Brian Laferriere wrote:

> 
> In all the documentation I have searched through I cannot find what the RST
> command does. I know it varies depending on the value passed to it, and I
> know there are only certain valid values. Can anyone tell me what they do?
> Also I was wondering if there is a romcall similar to _createprog only that
> it creates a symbol? I would appreciate any help I can get. Thanks.
> 
> RST 0, RST 8H, RST 10H, RST 18H, RST 20H, RST 28H, RST 30H, RST 38H
> 
> 




References: