beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 159

background image

Legend

4-73

Assembly Language Instructions

Table 4–45. Auto Increment and Decrement

Operation

next A

b9

b8

No modification

0

0

Auto increment

++A

0

1

Auto Decrement

– –A

1

0

Table 4–46. Addressing Mode Bits and adrs Field Description

String†

Addressing Mode Encoding

Relative

Addressing

Clocks

Words

String†

Repeat

Operation

{adrs}

7

6

5

4

3

2

1

0

Addressing

Modes

clk

w

Operation

Clocks

am

Rx (x = 0

7)

pm

Direct

2

2

n

R

+4

*dma16

0

0

0

x

0

0

Short relative

1

1

n

R

+2

*R6 + offset7

1

offset7

Relative to R5

1

1

n

R

+2

*Rx + R5

0

1

0

Rx

0

0

Long relative

2

2

n

R

+4

*Rx + offset16

0

0

1

Rx

0

0

*Rx

0

0

Indirect

1

1

n

R

+2

*Rx++

0

1

Indirect

1

1

n

R

+2

*Rx– –

0

1

1

Rx

1

0

*Rx++R5

1

1

† Replace nR with nS for string operation.
Note:

dma16 and offset16 is the second word.

Table 4–47. Flag Addressing Syntax and BIts

Repeat

{flagadrs}

flag addressing mode encoding, flagadrs

Flag

Addressing

Clocks

Words

Repeat

Operation

Syntax

6

5

4

3

2

1

0

Addressing

Modes

clk

w

clk

flag address bits

g/r

Global

1

1

n

R

+2

*dma6

dma6

0

Relative

1

1

n

R

+2

*R6+offset6

offset6

1

† nR is RPT instruction argument