
SAT64 ACC:P
6-314
SAT64 ACC:P
Saturate 64-bit Value ACC:P
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
SAT64 ACC:P
0101 0110 0011 1110
1
−
1
Operands
ACC:P
Accumulator register (ACC) and product register (P)
Description
Saturate the 64-bit content of the combined ACC:P registers to reflect the net
overflow represented in the overflow counter (OVC):
if(OVC > 0)
ACC:P = 0x7FFF FFFF FFFF FFFF;
V=1;
if(OVC < 0)
ACC:P = 0x8000 0000 0000 0000;
V=1;
if(OVC = 0)
ACC:P = unchaged;
OVC = 0;
Flags and
Modes
N
After the shift, if bit 31 of the ACC register is 1 then ACC:P is negative
and the N bit is set; otherwise N is cleared.
Z
After the operation, the Z flag is set if the combined 64-bit value of the ACC:P
is zero; otherwise, Z is cleared.
C
The C bit is cleared.
V
At the start of the operation, if (OVC = 0) then V is cleared; otherwise, V
is set.
OVC
If (OVC = 0), then no saturation takes place:
ACC:P is unchanged.
If(OVC > 0), then saturate ACC:P the maximum positive value:
ACC:P = 0x7FFF FFFF FFFF FFFF
If( OVC < 0), then saturate ACC:P to the maximum negative value:
ACC = 0x8000 0000 or ACC:P = 0x8000 0000 0000 0000
At the end of the operation, OVC is cleared.
Repeat
This instruction is not repeatable. If this instruction follows the RPT in-
struction, it resets the repeat counter (RPTC) and executes only once.
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 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...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...