Texas Instruments MSP50C614 manual Movs Move String from Source to Destination

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 217
Image 217

Individual Instruction Descriptions

4.14.33 MOVS

 

Move String from Source to Destination

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

dest, src

Clock, clk

Word, w

With RPT, clk

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS

An[~], {adrs}

Table 4±46

 

Table 4±46

1a

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS

{adrs}, An[~]

Table 4±46

 

Table 4±46

1a

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS

{adrs}, *An

Table 4±46

 

Table 4±46

1b

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS

An[~], pma16

nS+4

 

2

N/R

2b

 

 

 

MOVS²

An[~], PH

1

 

1

1

3

 

 

 

MOVS

An, An~

nS+2

 

1

nR+2

3

 

 

 

MOVS

An[~], *An[~]

nS+4

 

1

nR+4

3

²Certain restriction applies to the use of this instruction when interrupts are occuring on the background. See Section 4.8 for more detail.

Execution

dest

src

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC PC + w

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags Affected

dest is An:

 

 

 

OF, SF, ZF, CF are set accordingly

 

 

 

 

dest is {adrs}:

 

 

XSF, XZF are set accordingly

 

 

 

 

 

 

 

src is {adrs}

 

 

 

TAG bit is set accordingly

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instructions

 

16

15

14

13

12

 

11

10

9

 

8

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS An[~], {adrs}

 

0

0

1

0

A~

 

1

1

An

 

 

 

 

 

adrs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

dma16 (for direct) or offset16 (long relative) [see section 4.13]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS {adrs}, An[~]

 

0

0

0

1

A~

 

1

1

An

 

 

 

 

 

adrs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

dma16 (for direct) or offset16 (long relative) [see section 4.13]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS {adrs}, *An

 

0

1

0

1

1

 

1

1

An

 

 

 

 

 

adrs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

dma16 (for direct) or offset16 (long relative) [see section 4.13]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS An[~], pma16

 

1

1

1

0

0

 

1

1

An

 

0

0

1

0

 

0

1

A~

~A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

pma16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS PH, An[~]

 

1

1

1

0

0

 

1

1

An

 

1

0

1

0

 

1

0

A~

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS SV, An[~]

 

1

1

1

0

0

 

1

1

An

 

1

0

1

0

 

0

0

A~

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS An[~], PH

 

1

1

1

0

0

 

1

1

An

 

0

0

1

0

 

0

0

A~

~A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS An, An~

 

1

1

1

0

0

 

1

1

An

 

0

0

1

1

 

1

0

A~

~A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS MR, An[~]

 

1

1

1

0

0

 

1

1

An

 

1

0

1

1

 

0

0

A~

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVS An[~], *An[~]

 

1

1

1

0

0

 

1

1

An

 

0

0

0

1

 

0

0

A~

~A

Assembly Language Instructions

4-125

Page 217
Image 217
Texas Instruments MSP50C614 manual Movs Move String from Source to Destination