INSTRUCTION DESCRIPTIONS

 

MOVEC

Move Control Register

MOVEC

Operation:

Assembler Syntax:

 

X:eaD1

MOVE(C)

X:ea,D1

 

X:aaD1

MOVE(C)

X:aa,D1

 

S1X:ea

MOVE(C)

S1,X:ea

 

S1X:aa

MOVE(C)

S1,X:aa

 

Y:eaD1

MOVE(C)

Y:ea,D1

 

Y:aaD1

MOVE(C)

Y:aa,D1

 

S1Y:ea

MOVE(C)

S1,Y:ea

 

S1Y:aa

MOVE(C)

S1,Y:aa

 

S1D2

MOVE(C)

S1,D2

 

S2D1

MOVE(C)

S2,D1

 

#xxxxD1

MOVE(C)

#xxxx,D1

 

#xxD1

MOVE(C)

#xx,D1

Description: Move the contents of the specified source control register S1 or S2 to the specified destination or move the specified source to the specified destination control register D1 or D2. The control registers S1 and D1 are a subset of the S2 and D2 regis- ter set and consist of the address ALU modifier registers and the program controller reg- isters. These registers may be moved to or from any other register or memory space. Al memory addressing modes, as well as an immediate short addressing mode, may be used.

If the system stack register SSH is specified as a source operand, the system stack pointer (SP) is postdecremented by 1 after SSH has been read. If the system stack reg- ister SSH is specified as a destination operand, the system stack pointer (SP) is prein- cremented by 1 before SSH is written. This allows the system stack to be efficiently extended using software stack pointer operations.

When a 56-bit accumulator (A or B) is specified as a source operand, the accumulator value is optionally shifted according to the scaling mode bits S0 and S1 in the system status register (SR). If the data out of the shifter indicates that the accumulator extension

A - 206

INSTRUCTION SET DETAILS

MOTOROLA

Page 475
Image 475
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Move Control Register, Operation Assembler Syntax