EasyManuals Logo

Texas Instruments TMS320C28x User Manual

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #378 background imageLoading...
Page #378 background image
MOVU loc16,OVC
6-221
MOVU loc16,OVC Store the Unsigned Overflow Counter
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOVU loc16,OVC 0101 0110 0010 1000
0000 0000 LLLL LLLL
1 1
Operands
loc16
Addressing mode (see Chapter 5)
OVC
Overflow counter
Description Store the 6 bits of the overflow counter (OVC) into the lower 6 bits of the
location pointed to by the “loc16” addressing mode and zero the upper 10
bits of the addressed location:
[loc16(15:6)] = 0;
[loc16(5:0)] = OVC;
Flags and
Modes
N
If (loc16 = @AX) and bit 15 of AX is 1, then set N; otherwise clear N.
Z If (loc16 = @AX) and AX is zero, then set Z; otherwise clear Z.
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Example ; Save and restore contents of ACC and OVC bits:
MOVU *SP++,OVC ; Save OVC on stack
MOV *SP++,AL ; Save AL on stack
MOV *SP++,AH ; Save AH on stack
.
.
.
.
MOV AH,*−−SP ; Restore AH from stack
MOV AL,*−−SP ; Restore AL from stack
MOVU OVC,*−−SP ; Restore OVC from stack

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals