CALLM

CALLM

Operation:
Save current module state on stack;
Load new module state from destination

Compatibility: MC68020 only

Assembler Syntax:
CALLM #<data>, <ea>

Attributes: Unsized

Description: The effective address of the instruction is the
location of an external module descriptor. A module frame
is created on the top of the stack, and the current module
state is saved in the frame. The immediate operand specifies
the number of bytes of arguments to be passed to the called
module. A new module state is loaded from the descriptor
addressed by the effective address.

Condition Codes:
Not affective.

Instruction Format:
\i2-----++-++u6Effective Address,3Mode,3Reg,--------8Argument Count,

Instruction Fields:
Effective Address field -- Specifies the address of the
module descriptor. Only control addressing modes are
allowed as shown.
\m27B

Argument Count field -- Specifies the number of bytes of arguments
to be passed to the called module. The 8-bit field can specify
from 0 to 255 bytes of arguments. The same number of bytes
is removed from the stack by the RTM instruction.

Related Instructions:
RTM,481
.426428