Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-109
JSR Jump to Subroutine JSR
(M68000 Family)
Operation: SP – 4 → Sp; PC → (SP); Destination Address → PC
Assembler
Syntax: JSR < ea >
Attributes: Unsized
Description: Pushes the long-word address of the instruction immediately following the
JSR instruction onto the system stack. Program execution then continues at the
address specified in the instruction.
Condition Codes:
Not affected.
Instruction Format:
Instruction Field:
Effective Address field—Specifies the address of the next instruction. Only control
addressing modes can be used as listed in the following tables:
*Can be used with CPU32.
1514131211109876543210
0100111010
EFFECTIVE ADDRESS
MODE REGISTER
Addressing Mode Mode Register Addressing Mode Mode Register
Dn — — (xxx).W 111 000
An — — (xxx).L 111 001
(An) 010 reg. number:An #<data> — —
(An) + — —
– (An) — —
(d
16
,An) 101 reg. number:An (d
16
,PC) 111 010
(d
8
,An,Xn) 110 reg. number:An (d
8
,PC,Xn) 111 011
MC68020, MC68030, and MC68040 only
(bd,An,Xn)* 110 reg. number:An (bd,PC,Xn)* 111 011
([bd,An,Xn],od) 110 reg. number:An ([bd,PC,Xn],od) 111 011
([bd,An],Xn,od) 110 reg. number:An ([bd,PC],Xn,od) 111 011
Comments to this Manuals