Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->CALLM

CALLM      Call Module

Compatibility: 68020 only


Save current module on stack.
Load new module state from destination.

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

Unsized

A module frame is created on the top of the stack and the current module state is saved in this frame.

A new module state is loaded from the module descriptor addressed by the effective address.  The immediate operand specifies the number of bytes of arguments to be passed to the called module.

Condition Codes Not Affected

This instruction is not supported by CPU32 based microcontrollers.

    
Allowable Addressing Modes
    
CALLM #(data),(An)
CALLM #(data),(d16,An)
CALLM #(data),(d8,An,Xn)
CALLM #(data),(bd,An,Xn)
CALLM #(data),([bd,An,Xn],od)
CALLM #(data),([bd,An],Xn,od)
CALLM #(data),(xxx).W
CALLM #(data),(xxx).L
CALLM #(data),(d16,PC)
CALLM #(data),(d8,PC,Xn)
CALLM #(data),(bd,PC,Xn)
CALLM #(data),([bd,PC,Xn],od)
CALLM #(data),([bd,PC],Xn,od)