Shift Operations
2-47
Central Processing Unit
11. Shift Operations (Continued)
Operation Type
Illustration
Rotate ACC right by 1 bit.
Bit 0 of ACC
fills the carry bit (C). C fills bit 31 of ACC.
Syntax:
ROR ACC
Rotate right
ACC
32 bits to ACC
C
Logical right shift of ACC:P.
Syntaxes:
LSR64 ACC:P, 1...16
LSR64, ACC:P, T shift = T(5:0)
Shift right
ACC:P
64 bits to ACC:P
0
C Last
bit out
Discard
other bits
Logical left shift of ACC:P.
Syntaxes:
LSL64 ACC:P, 1...16
LSL64 ACC:P, T shift = T(5:0)
Shift left
0
ACC:P
64 bits to ACC:P
C
Last
bit out
Discard
other bits
Arithmetic right shift of ACC:P.
Syntaxes:
ASR64 ACC:P, 1...16
ASR64, ACC:P, T shift = T(5:0)
Shift right
ACC:P
64 bits to ACC:P
Sign
C Last
bit out
Discard
other bits
Conditional shift of ACC by 1 bit.
Syntaxes:
NORM ACC,
aux
++
NORM ACC,
aux
−
−
SUBCU ACC,
loc
Shift left
0
ACC
32 bits to ACC
Discard
Содержание 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...