Texas Instruments TMS320C28x Reference Manual page 79

Dsp cpu and instruction set
Table of Contents

Advertisement

Table 2−11. Shift Operations (Continued)
Operation Type
Store 16 LSBs of shifted P. P is shifted
as per the PM bits. The 16 LSBs of shifter
are stored. Syntax:
MOV loc16, P
Store 16 MSBs of shifted P. P is shifted
as per the PM bits. The result is shifted
right by 16 so that its 16 MSBs are in the
16 LSBs of the shifter. 16 LSBs of shifter
are stored. Syntax:
MOVH loc16, P
Illustration
For PM = 0:
Discard
For PM = 1: No shift
For PM from 2−7:
Sign
For PM = 0:
1)
Discard
2)
For PM = 1: No shift
For PM from 2−7:
Sign
1)
2)
Shift Operations
P
Shift left
16 LSBs to ALU
P
Shift right
16 LSBs to ALU
P
Shift left
Shift right by 16
16 LSBs to ALU
P
Shift right
Shift right by 16
16 LSBs to ALU
Central Processing Unit
0
Discard
0
Discard
Discard
Discard
2-49

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF