A-290
SC140 DSP Core Reference Manual
MOVE.W
MOVE.W (Rn+u3),DR
MOVE.W DR,(Rn+u3)
Moves a signed word between a data or address register (DR) and a memory address pointed to by an
address register (Rn) with an unsigned 3-bit offset that is preshifted right by 1 bit. The offset u3, defined by
the programmer, must be an even integer from 0–14. It is encoded by the assembler with 3 bits, thus
creating a 3-bit offset, which is coded in the instruction. The core, when decoding the instruction, post
shifts left the 3-bit offset to reconstruct the real offset. This feature enables condensed code size when short
immediates are needed.
MOVE.W (Rn+s15),DR
MOVE.W DR,(Rn+s15)
Moves a signed word between a data or address register (DR) and a memory address pointed to by an
address register (Rn) with a signed 15-bit offset.
MOVE.W (Rn+Rr),DR
MOVE.W DR,(Rn+Rr)
Moves a signed word between a data or address register (DR) and a memory address pointed to by an
address register (Rn) with an offset contained in another address register (Rr). The second address register
(Rr) is shifted left by one bit prior to being added. The modifier mode of this instruction is determined by
Rn in MCTL. Rr is limited to R0–R7.
MOVE.W (EA),DR
MOVE.W DR,(EA)
Moves a signed word between a data or address register (DR) and a memory address pointed to by (EA) an
address register with an optional offset or post-increment.
MOVE.W (Rn),C3
MOVE.W C3,(Rn)
Moves a signed word between a control, offset, or modifier register (C3) and a memory address pointed to
by an address register (Rn).
MOVE.W (SP–u6),DR
MOVE.W DR,(SP–u6)
Moves a signed word between a data or address register (DR) and a memory address pointed to by the
active stack pointer (SP) minus a 6-bit unsigned offset.
MOVE.W (SP+s15),C4
MOVE.W C4,(SP+s15)
Moves a signed word between a general register (C4) and a memory address pointed to by the active stack
pointer (SP) with a signed 15-bit offset.
Summary of Contents for SC140 DSP Core
Page 12: ...xii SC140 DSP Core Reference Manual ...
Page 18: ...xviii SC140 DSP Core Reference Manual ...
Page 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Page 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Page 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Page 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Page 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Page 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Page 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Page 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Page 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Page 758: ...I 10 Index ...
Page 759: ...SC140 DSP Core Reference Manual i ...
Page 760: ......