Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->MOVE to SR

MOVE to SR   MOVE to Status Register

Compatibility: 68000, 68010, 68020 and CPU32 families.

This is a privileged instruction

Source -> SR


Assembler Syntax:  MOVE <ea>,SR


<ea> - data only

Size:  Word

Condition Codes:

N    Set according to source operand
Z    Set according to source operand
V    Set according to source operand
C    Set according to source operand
X    Set according to source operand

    
Allowable Addressing Modes
    
MOVEDn,SR
MOVE(An),SR
MOVE(An)+,SR
MOVE-(An),SR
MOVE(d16,An),SR
MOVE(d8,An,Xn),SR
MOVE(bd,An,Xn),SR 2
MOVE([bd,An,Xn],od),SR 1
MOVE([bd,An],Xn,od),SR 1
MOVE(xxx).W,SR
MOVE(xxx).L,SR
MOVE#(data),SR
MOVE(d16,PC),SR
MOVE(d8,PC,Xn),SR
MOVE(bd,PC,Xn),SR 2
MOVE([bd,PC,Xn],od),SR 1
MOVE([bd,PC],Xn,od),SR 1
1   68020 only
2   68020 and CPU32 only