Texas Instruments TMS320C28x Reference Manual page 379

Dsp cpu and instruction set
Table of Contents

Advertisement

MOVU OVC,loc16
MOVU OVC,loc16
SYNTAX OPTIONS
MOVU OVC,loc16
Operands
OVC
Description
Flags and
OVC
Modes
Repeat
Example
; Save and restore contents of ACC and OVC bits:
MOVU
MOV
MOV
.
.
.
.
MOV
MOV
MOVU
6-222
0101 0110 0110 0010
0000 0000 LLLL LLLL
6-bit overflow counter
Load the overflow counter (OVC) with the lower 6 bits of the location pointed
to by the "loc16" addressing mode:
OVC = [loc16(5:0)]
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
Load Overflow Counter With Unsigned Value
OPCODE
OBJMODE
RPT
CYC
1
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