Instruction Classification

Table 4–20. Class 3 Instruction Description (Continued)

 

 

 

 

 

 

 

 

 

C3

 

 

Mnemonic

Description

 

 

 

 

 

 

 

1

0

1

0

0

MOV SV, An[~] [, next A]

Transfer accumulator(A~=0) or offset accumulator (A~=1)

 

 

 

 

 

MOVS SV, An[~]

to SV register. Transfer status is modified.

 

 

 

 

 

 

 

1

0

1

0

1

MOV PH, An[~] [, next A]

Transfer accumulator (A~=0) or offset accumulator (A~=1)

 

 

 

 

 

MOVS PH, An[~]

to PH register. Transfer status is modified.

 

 

 

 

 

 

 

1

0

1

1

0

MOV MR, An[~] [, next A]

Transfer accumulator (A~=0) or offset accumulator (A~=1)

 

 

 

 

 

MOVS MR, An[~]

to MR register in the signed multiplier mode (UM bit in

 

 

 

 

 

 

status register set to 0). Transfer status is modified.

 

 

 

 

 

 

 

1

0

1

1

1

MOVU MR, An[~] [, next A]

Transfer accumulator (A~=0 or 1) to MR register in the

 

 

 

 

 

 

unsigned multiplier mode(UM bit set to 1). Transfer status

 

 

 

 

 

 

is modified.

 

 

 

 

 

 

 

1

1

0

0

0

MULSPL An[~], An[~] [, next A]

Multiply the MR register by accumulator (A~=1) or offset

 

 

 

 

 

MULSPLS An[~], An[~]

accumulator (A~=0) , subtract lower 16 bits of the product

 

 

 

 

 

 

from the offset accumulator (A~=1) or accumulator

 

 

 

 

 

 

(A~=0). Store in the accumulator (~A=0) or offset

 

 

 

 

 

 

accumulator (~A=1). Latch the upper 16 bits in PH. ALU

 

 

 

 

 

 

status is modified.

 

 

 

 

 

 

 

1

1

0

0

1

MULAPL An[~], An[~] [, next A]

Multiply MR register by accumulator (A~=1) or offset

 

 

 

 

 

MULAPLS An[~], An[~]

accumulator (A~=0) , add lower 16 bits of product to offset

 

 

 

 

 

 

accumulator (A~=1) or accumulator (A~=0) and store to

 

 

 

 

 

 

accumulator (~A=0) or offset accumulator (~A=1). Latch

 

 

 

 

 

 

upper 16 bits in PH. ALU status is modified.

 

 

 

 

 

 

 

1

1

0

1

0

SHLTPL An[~], An[~][, next A]

Barrel shift the accumulator (A~=1 or 1) value n bits left

 

 

 

 

 

SHLTPLS An[~], An[~]

(SV reg). Store the upper 16 bits of the 32-bit shift result to

 

 

 

 

 

 

PH (msbs extended by XM mode bit). Transfer the lower

 

 

 

 

 

 

16 bits to accumulator (~A=0) or offset(~A=1). ALU status

 

 

 

 

 

 

is modified.

 

 

 

 

 

 

 

1

1

0

1

1

MULTPL An[~], An[~] [, next A]

Multiply MR register by accumulator(A~=1) or offset

 

 

 

 

 

MULTPLS An[~], An[~]

(A~=0), transfer lower 16 bits of product to accumulator

 

 

 

 

 

 

(~A=0) or offset accumulator(~A=1). Latch upper 16 bits of

 

 

 

 

 

 

Product to PH register. ALU status is modified.

 

 

 

 

 

 

 

1

1

1

0

0

SHLSPL An[~], An[~] [, next A]

Barrel shift the accumulator(A~=1) or offset accumulator

 

 

 

 

 

SHLSPLS An[~], An[~]

(A~=0) value n bits left (SV reg). Store the upper 16 bits to

 

 

 

 

 

 

PH. Subtract the lower 16 bits of value from offset (A~=1)

 

 

 

 

 

 

or accumulator (A~=0) and store in accumulator (~A=0) or

 

 

 

 

 

 

offset accumulator (~A=1). ALU status is modified.

 

 

 

 

 

 

 

1

1

1

0

1

SHLAPL An[~], An[~] [, next A]

Barrel shift the accumulator(A~=1) or offset accumulator

 

 

 

 

 

SHLAPLS An[~], An[~]

(A~=0) value n bits left (SV reg). Store the upper 16 bits to

 

 

 

 

 

 

PH. Add the lower 16 bits of value to offset accumulator

 

 

 

 

 

 

(A~=1) or accumulator (A~=0) and store in accumulator

 

 

 

 

 

 

(~A=0) or offset accumulator(~A=1). ALU status is

 

 

 

 

 

 

modified.

 

 

 

 

 

 

 

Assembly Language Instructions

4-33

Page 119
Image 119
Texas Instruments MSP50C6xx manual MOV SV, An~ , next a, Is modified, From the offset accumulator A~=1 or accumulator