Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->MOVEM

MOVEM    Move Multiple Registers

Compatibility: 68000, 68010, 68020 and CPU32 families.

Registers -> Destination
Source -> Registers

Selected registers are transferred to or from consecutive memory starting at <ea>

Assembler Syntax:MOVEM <register list>,<ea>
MOVEM <ea>,<register list>

<ea> destination - control alterable and predecrement

<ea> source      - control alterable and postincrement

register list example:    D3-D7/A1/A6/D1

Size:    Word, Long

Condition Codes: Not Affected

    
Allowable Addressing Modes
    
<ea>,register listregister list,<ea>
    
MOVEM(An),list MOVEMlist,(An)
MOVEM(An)+,listMOVEMlist,-(An)
MOVEM(d16,An),listMOVEMlist,(d16,An)
MOVEM(d8,An,Xn),listMOVEMlist,(d8,An,Xn)
MOVEM(bd,An,Xn),list 2MOVEMlist,(bd,An,Xn) 2
MOVEM([bd,An,Xn],od),list 1MOVEMlist,([bd,An,Xn],od) 1
MOVEM([bd,An],Xn,od),list 1MOVEMlist,([bd,An],Xn,od) 1
MOVEM(xxx).W,listMOVEMlist,(xxx).W
MOVEM(xxx).L,listMOVEMlist,(xxx).L
MOVEM(d16,PC),list
MOVEM(d8,PC,Xn),list
MOVEM(bd,PC,Xn),list 2
MOVEM([bd,PC,Xn],od),list 1
MOVEM([bd,PC],Xn,od),list 1

1   68020 only
2   68020 and CPU32 only