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 #475 background imageLoading...
Page #475 background image
SBF 8bitOffset,EQ/NEQ/TC/NTC
6-318
SBF 8bitOffset,EQ/NEQ/TC/NTC Short Branch Fast
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
SBF 8bitOffset,EQ 1110 1100 CCCC CCCC 1 4/4
SBF 8bitOffset,NEQ 1110 1101 CCCC CCCC 1 4/4
SBF 8bitOffset,TC 1110 1110 CCCC CCCC 1 4/4
SBF 8bitOffset,NTC 1110 1111 CCCC CCCC 1 4/4
Operands 8bitOffset 8-bit signed immediate constant offset value (128 to +127 range)
Syntax
Description Flags Tested
NEQ
Not Equal To Z = 0
EQ
Equal To Z = 1
NTC
Test Bit Not Set TC = 0
TC
Test Bit Set TC = 1
Description
Short fast conditional branch. If the specified condition is true, then
branch by adding the signed 8-bit constant value to the current PC value;
otherwise continue execution without branching:
If (tested condition = true) PC = PC + signed 8-bit off-
set;
If (tested condition = false) PC = PC + 1;
Note: The short branch fast (SBF) instruction takes advantage of dual prefetch queue
on the C28x core that reduces the cycles for a taken branch from 7 to 4:
If (tested condition = true) then the instruction takes 4 cycles.
If (tested condition = false) then the instruction takes 4 cycles.
Flags and
Modes
None
Repeat
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.

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