R.O.M.E.68000 Home
Prev. Table of Cont. Help Similar Instr.

This is the R.O.M.E.68000 Manual version 0.51.
This is an experimental version.
Copyright © 1997 by G. Mezzetti; last update: January 1, 1999.


Ordinary Instructions of the ``Control'' Class

Jump to SuBRoutine

Mnemonic:
JSBR
Operands:
A,B

Oper. Addressing Group Op. Use Mult. Op.
A jadr a -
B dstadr e -

Instruction Key:
7C
Formal Description:

IP - @(B) --> B {save return address, relative to B};
@(A) --> IP {jump to A}.

Informal Description

This instruction is used to jump to a subroutine. The current IP, relativized, is saved in B, which, because of the mode used to address it, should lie on the top of a stack (whose stack pointer is maintained by you); then the instruction jumps to A.


Prev. Table of Cont. Help Similar Instr.

Gustavo MEZZETTI  /  mezzetti@math.unipd.it