NORM ACC,XARn++/− −
Example
; Normalize the contents of VarA,
; XAR2 will contain shift value at the end of the operation:
MOVL
MOVB
SBF
RPT
||NORM
Skip:
6-254
ACC,@VarA
XAR2,#0
Skip,EQ
#31
ACC,XAR2++
; ACC = VarA
; Initialize XAR2 to zero
; Skip if ACC value is zero
; Repeat next operation 32 times
; Normalize contents of ACC
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?