Analog Devices ADSP-BF53x Blackfin Reference page 467

Table of Contents

Advertisement

Flags Affected
The Bit Test instruction affects flags as follows.
is set if the tested bit is 1; cleared otherwise.
CC
• All other flags are unaffected.
The ADSP-BF535 processor has fewer
operate differently than subsequent Blackfin family products. For
more information on the ADSP-BF535 status flags, see
on page
Required Mode
User & Supervisor
Parallel Issue
This instruction cannot be issued in parallel with other instructions.
Example
cc = bittst (r7, 15) ;
For example, if
to 1, and
still contains 0xFFFFFFFF after the instruction.
R7
cc = ! bittst (r3, 0) ;
If
contains 0xFFFFFFFF, this instruction clears
R3
Also See
BITCLR, BITSET,
Special Applications
None
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
A-3.
/* test bit 15 TRUE in R7 */
contains 0xFFFFFFFF before this instruction,
R7
/* test bit 0 FALSE in R3 */
BITTGL
Bit Operations
flags and some flags
ASTAT
Table A-1
to 0.
CC
is set
CC
13-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents