Re: A83: Help with a problem


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

Re: A83: Help with a problem




On Wed, 18 Aug 1999 18:39:19 +0200, Linus Akesson wrote:
>
>In accordance with the prophecy, James Vernon uttered:
>
> > I know "rst 20h" loads 9 bytes from (hl) to
> > (Op1) and "rst 18h" pushes Op1 to the fpstack. Does anyone know what all 
>the
> > other "rst" commands do?
>
> > James Vernon
>
>
>RST 0    Reset (z80 jumps here when it first powers up, i.e. when you
>          insert new batteries)
>
>RST 8    Copy OP1 to OP2 (_OP1TOOP2)
>
>RST 16   Find variable in VAT (_FINDSYM)
>
>RST 24   Push OP1 to FPS (_PUSHREALO1) OP1 must be a real number.
>
>RST 32   Move 9 bytes at hl to OP1 (_MOV9TOOP1)
>
>RST 40   OP1 * OP2 -> OP1 (_FPMULT)
>
>RST 48   OP1 + OP2 -> OP1 (_FPADD)
>
>RST 56   Interrupt handler (called automatically when a hardware interrupt
>          occurs)
>
>Linus
>
>- --- Linus Akesson ------------------------ http://linusworld.cjb.net --- 
>-

  Thanx for that Linus.. these could come in handy one day.

James Vernon
jimbob_v@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com