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 #519 background imageLoading...
Page #519 background image
TEST ACC
6-362
TEST ACC Test for Accumulator Equal to Zero
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
TEST ACC 1111 1111 0101 1000 X 1
Operands ACC Accumulator register
Description Compare the ACC register to zero and set the status flag bits accordingly:
Modify flags on (ACC − 0x00000000);
Flags and
Modes
N If bit 31 of the ACC is 1, N is set; else N is cleared.
Z If ACC is zero, Z is set; else Z 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.
Example
; Test contents of ACC and branch if zero:
TEST ACC ; Modify flags on (ACC − 0x00000000)
SB Zero,EQ ; Branch if zero

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