
Shift Operations
2-49
Central Processing Unit
11. Shift Operations (Continued)
Operation Type
Illustration
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
Shift left
0
P
16 LSBs to ALU
Shift right
P
Discard
Sign
Discard
16 LSBs to ALU
For PM = 0:
For PM from 2
−
7:
For PM = 1:
No shift
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
Shift left
0
P
Shift right
P
Discard
Sign
Discard
For PM = 0:
For PM from 2
−
7:
Shift right by 16
Discard
16 LSBs to ALU
1)
2)
Shift right by 16
Discard
16 LSBs to ALU
1)
2)
For PM = 1:
No shift
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...