Texas Instruments MSP50C614 Stereo System User Manual


 
Individual Instruction Descriptions
4-126
Description Copy value of
src
string to
dest
string. Premodification of accumulator pointers
is allowed with some operand types.
Syntax Description
MOVS A
n
[~], {
adrs
} Move data memory word string to A
n
[~] string
MOVS {
adrs
}, A
n
[~] Move A
n
[~] string to data memory
MOVS {
adrs
}, *A
n
Move program memory string at *A
n
to data memory
MOVS A
n
[~],
pma16
Move program memory string to A
n
[~] string
MOVS A
n
, A
n
~ Move A
n
~ string to A
n
MOVS A
n
~, A
n
Move A
n
string to A
n
~ string
MOVS A
n
[~], PH Move product high reg to A
n
[~], string mode. This instruction ignores the string
count, executing only once but maintains the CF and ZF status of the previous
multiply or shift operation as if the sequence was a single string.
MOVS A
n
[~], *A
n
[~] Move program memory string at *A
n
[~] to A
n
[~]
See Also MOVU, MOV, MOVT, MOVB, MOVBS
Example 4.14.31.1 MOVS A2~, *R6
Load the string pointed by R6 to accumulator string A2~.
Example 4.14.31.2 MOVS *R4, A2~
Copy the accumulator string A2~ to data memory location pointed by R4.
Example 4.14.31.3 MOVS *0x0100 * 2, *A0
Transfer the program memory word string pointed by content of A0 to the data memory word location
0x0100. This is a lookup instruction.
Example 4.14.31.4 MOVS A2~, 0x1400
Transfer program memory string at 0x1400 to accumulator string A2~.
Example 4.14.31.5 MOVS A1, A1~
Transfer accumulator string A1~ to accumulator string A1.
Example 4.14.31.6 MOVS A1~, A1
Transfer accumulator string A1 to accumulator string A1~.
Example 4.14.31.7 MOVS A2, PH
Transfer value in PH to accumulator string A2. PH is copied to the second word of the string.