Legend

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

 

 

 

 

 

 

 

 

 

 

 

 

 

Clocks

Words

Repeat

{adrs}

7

 

6

5

4

 

3

2

1

0

Addressing

Operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

clk

w

 

 

 

 

 

Rx (x = 0

 

 

 

Modes

Clocks

 

 

 

am

 

7)

pm

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Direct

2

2

nR+4

*dma16

0

 

0

0

 

 

x

 

0

0

Short relative

1

1

nR+2

*R6 + offset7

1

 

 

 

 

offset7

 

 

 

Relative to R5

1

1

nR+2

*Rx + R5

0

 

1

0

 

 

Rx

 

0

0

Long relative

2

2

nR+4

*Rx + offset16

0

 

0

1

 

 

Rx

 

0

0

 

 

 

 

*Rx

 

 

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Indirect

1

1

nR+2

*Rx++

 

 

 

 

 

 

 

 

0

1

 

 

 

 

 

 

 

Rx

 

 

 

*Rx––

0

 

1

1

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

5

 

4

 

3

 

2

1

0

Clocks

Words

Operation

Syntax

 

 

 

Addressing

 

 

 

clk

w

 

 

 

 

 

 

 

 

 

 

 

 

Modes

clk

 

 

 

flag address bits

 

 

g/r

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Global

1

1

nR+2

*dma6

 

 

 

dma6

 

 

 

 

0

Relative

1

1

nR+2

*R6+offset6

 

 

 

offset6

 

 

 

 

1

nR is RPT instruction argument

Assembly Language Instructions

4-73

Page 159
Image 159
Texas Instruments MSP50C6xx manual Auto Increment and Decrement, Addressing Mode Bits and adrs Field Description