Conditional Sequencing
3-18
ADSP-2126x SHARC Processor Hardware Reference
(
ASTATx
and
ASTATy
), the mode control 1 register (
MODE1
), the flag inputs,
and the loop counter. For more information on arithmetic status, see
“Using Computational Status” on page 2-16
. When in SIMD mode, con-
ditional execution is effected by the arithmetic status of both processing
elements. For information on conditional sequencing in SIMD mode, see
Each condition that the DSP evaluates has an assembler mnemonic. The
condition mnemonics for conditional instructions appear in
.
For most conditions, the sequencer can test both true and false states. For
example, the sequencer can evaluate ALU equal-to-zero (
EQ
) and ALU
not-equal-to-zero (
NZ
).
To branch conditionally based on the value of a register, a program can
use the Test Flag (
TF
) condition generated from a Bit Test Flag (
BTF
)
instruction. The
TF
flag is set or cleared as a result of a
BIT TST
or
BIT XOR
instruction, which can test the contents of any of the DSP’s system regis-
ters, including
STKYx
and
STKYy
.
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...