Re: A83: Help with a problem
[Prev][Next][Index][Thread]
Re: A83: Help with a problem
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 --- -
                We are the Knights who say:  MOVE.L  USP,A1
Follow-Ups:
References: