MOVEA Instruction



The instruction MOVEA copies an operand given by an effective address to an address register. Only words and longwords are used, and all 32 bits in the destination are affected (sign extended if word).



ADDRESS METHODS: Dn, An, (An), (An)+, -(An), x(An), x(An,xr.s), x.w, x.l, x(PC), x(PC,xr.s), #x

DATA LENGTH: Longword

FLAGS: Unaffected

SYNTAX: MOVEA <ea>,An

Most assemblers choose MOVEA if you use MOVE with an address register as the destination.

EXAMPLE CODE:   

   MOVEA    D0,A1    moves the contents of D0 into A1