Register Operations
6-9
C28x Assembly Language Instructions
2. Register Operations (Continued)
Mnemonic
Page
Description
32-Bit ACC Register Operations (Continued)
ASRL
ACC,T
Arithmetic shift right of accumulator by T(4:0)
CMPL
ACC,loc32
Compare 32-bit value
CMPL
ACC,P << PM
Compare 32-bit value
CSB
ACC
Count sign bits
LSL
ACC,1..16
Logical shift left 1 to 16 places
LSL
ACC,T
Logical shift left by T(3:0) = 0...15
LSRL
ACC,T
Logical shift right by T(4:0)
LSLL
ACC,T
Logical shift left by T(4:0)
MAXL
ACC,loc32
Find the 32-bit maximum
MINL
ACC,loc32
Find the 32-bit minimum
MOVL
ACC,loc32
Load accumulator with 32 bits
MOVL
loc32,ACC
Store 32-bit accumulator
MOVL
P,ACC
Load P from the accumulator
MOVL
ACC,P << PM
Load the accumulator with shifted P
MOVL
loc32,ACC,COND
Store ACC conditionally
NORM
ACC,XARn++/
−−
Normalize ACC and modify selected auxiliary register.
NORM
ACC,*ind
C2XLP compatible Normalize ACC operation
NEG
ACC
Negate ACC
NEGTC
ACC
If TC is equivalent to 1, negate ACC
NOT
ACC
Complement ACC
ROL
ACC
Rotate ACC left
ROR
ACC
Rotate ACC right
SAT
ACC
Saturate ACC based on OVC value
SFR
ACC,1..16
Shift accumulator right by 1 to 16 places
SFR
ACC,T
Shift accumulator right by T(3:0) = 0...15
SUBBL
ACC,loc32
Subtract 32-bit value plus inverse borrow
Содержание 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...