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 pre
−
fetch 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.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...