Texas Instruments TMS320C28x Reference Manual page 333

Dsp cpu and instruction set
Table of Contents

Advertisement

MOV OVC, loc16
MOV OVC, loc16
SYNTAX OPTIONS
MOV OVC, loc16
Operands
OVC
Description
Flags and
OVC
Modes
Repeat
Example
; Save and restore contents of ACC and OVC bits:
MOV
MOV
MOV
.
.
.
.
MOV
MOV
MOV
6-176
6-bit overflow counter
Load the overflow counter (OVC) with the upper 6 bits of the location pointed
to by the "loc16" addressing mode:
OVC = [loc16(15:10)];
The 6-bit overflow counter is modified.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
*SP++,OVC
; Save OVC on stack
*SP++,AL
; Save AL on stack
*SP++,AH
; Save AH on stack
AH,*−−SP
; Restore AH from stack
AL,*−−SP
; Restore AL from stack
OVC,*−−SP
; Restore OVC from stack
OPCODE
0101 0110 0000 0010
0000 0000 LLLL LLLL
Load the Overflow Counter
OBJMODE
RPT
1
CYC
1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF