Move.l, Move long (agu), Description – Freescale Semiconductor StarCore SC140 User Manual

Page 593: Operation assembler syntax

Advertising
background image

MOVE.L

SC140 DSP Core Reference Manual

A-279

MOVE.L

Move Long (AGU)

MOVE.L

Description

These operations move a signed long word (32-bit data) from memory to a register, or from a register to
memory. Absolute addresses, offsets, and address register values must be long word-aligned (the address
must be a multiple of 4). The programmer should ensure that the effective address resides on a long word
boundary.

Operation

Assembler Syntax

(aa)

↔ DR

MOVE.L (a32),DR {0

≤ a32 < 2

32

,L}

MOVE.L DR,(a32)

(aa)

↔ C4

MOVE.L (a16),C4 {0

≤ a16 < 2

16

,L}

MOVE.L C4,(a16)

(Rn + u3)

↔ DR

MOVE.L (Rn+u3),DR {0

≤ u3 < 32,L}

MOVE.L DR,(Rn+u3)

(Rn + s15)

↔ DR

MOVE.L (Rn+s15),DR {–2

14

≤ s15 < 2

14

,L}

MOVE.L DR,(Rn+s15)

(Rn + Rr)

↔ DR

MOVE.L (Rn+Rr),DR
MOVE.L DR,(Rn+Rr)

(EA)

↔ DR

MOVE.L (EA),DR
MOVE.L DR,(EA)

(Rn)

↔ C3

MOVE.L (Rn),C3
MOVE.L C3,(Rn)

(SP – u6)

↔ DR

MOVE.L (SP–u6),DR {0

≤ u6 < 256,L}

MOVE.L DR,(SP–u6)

(SP + s15)

↔ C4

MOVE.L (SP+s15),C4 {–2

14

≤ s15 < 2

14

,L}

MOVE.L C4,(SP+s15)

SIGN

EXTENSION

39

0

32

0

31

D

Advertising