Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->JSR

JSR    Jump to Subroutine

Compatibility: 68000, 68010, 68020 and CPU32 families.


Assembler Syntax:   JSR <ea>


<ea> - control

Size:  Unsized

Push address of instruction following the JSR instruction onto stack.  Program execution then continues at the address specified in the instruction.

Condition Codes:

N    Not affected
Z    Not affected
V    Not affected
C    Not affected
X    Not affected


    
Allowable Addressing Modes
    
JSR(An)
JSR(d16,An)
JSR(d8,An,Xn)
JSR(bd,An,Xn) 2
JSR([bd,An,Xn],od) 1
JSR([bd,An],Xn,od) 1
JSR(xxx).W
JSR(xxx).L
JSR(d16,PC)
JSR(d8,PC,Xn)
JSR(bd,PC,Xn) 2
JSR([bd,PC,Xn],od) 1
JSR([bd,PC],Xn,od) 1
1   68020 only
2   68020 and CPU32 only