Integer Instructions
4-166 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
RTD Return and Deallocate RTD
(MC68010, MC68020, MC68030, MC68040, CPU32)
Operation: (SP) → PC; SP + 4 + d
n
→ SP
Assembler
Syntax: RTD # < displacement >
Attributes: Unsized
Description: Pulls the program counter value from the stack and adds the sign-extended
16-bit displacement value to the stack pointer. The previous program counter value is
lost.
Condition Codes:
Not affected.
Instruction Format:
Instruction Field:
Displacement field—Specifies the twos complement integer to be sign-extended and
added to the stack pointer.
1514131211109876543210
0100111001110100
16-BIT DISPLACEMENT
Comments to this Manuals