Move.w, Move integer word (agu), Description – Freescale Semiconductor StarCore SC140 User Manual
Page 603: Operation assembler syntax

MOVE.W
SC140 DSP Core Reference Manual
A-289
MOVE.W
Move Integer Word (AGU)
MOVE.W
Description
These operations either read a signed integer word from memory into the LP of a register and sign-extend
it, or write a signed integer word from the LP of a register to a memory address.
The address of the access must be word-aligned.
Operation
Assembler Syntax
(aa)
↔ DR
MOVE.W (a32),DR {0
≤ a32 < 2
32
,W}
MOVE.W DR,(a32)
(aa)
↔ C4
MOVE.W (a16),C4 {0
≤ a16 < 2
16
,W}
MOVE.W C4,(a16)
(Rn+u3)
↔ DR
MOVE.W (Rn+u3),DR {0
≤ u3 < 16,W}
MOVE.W DR,(Rn+u3)
(Rn+s15)
↔ DR
MOVE.W (Rn+s15),DR {–2
14
≤ s15 < 2
14
,W}
MOVE.W DR,(Rn+s15)
(Rn+Rr)
↔ DR
MOVE.W (Rn+Rr),DR
MOVE.W DR,(Rn+Rr)
(EA)
↔ DR
MOVE.W (EA),DR
MOVE.W DR,(EA)
(Rn)
↔ C3
MOVE.W (Rn),C3
MOVE.W C3,(Rn)
(SP-u6)
↔ DR
MOVE.W (SP–u6),DR {0
≤ u6 < 128,W}
MOVE.W DR,(SP–u6)
(SP+s15)
↔ C4
MOVE.W (SP+s15),C4 {–2
14
≤ s15 < 2
14
,W}
MOVE.W C4,(SP+s15)
MOVE.W (a32),DR
MOVE.W DR,(a32)
Moves a signed word between a data or address register (DR) and an absolute 32-bit address.
MOVE.W (a16),C4
MOVE.W C4,(a16)
Moves a signed word between a general register (C4) and an absolute 16-bit address.
SIGN EXTENSION
39
0
16
D
0
16
31
SIGN EXTENSION