Motorola DSP96002 User Manual page 229

32-bit digital signal processor
Table of Contents

Advertisement

BFIND
Operation:
Leading One(S.L)
Description:
Return the position of the source operand S leading one, considered from left to right, as a 2's complement
integer in the high portion of destination operand D. If the source operand is zero then return $80000000.
Input Operand(s) Precision: 32-bit integer.
Output Operand Precision: 32-bit integer.
CCR Condition Codes:
C
V
Z
N
I
LR
R
A
ER Status Bits:
IER Flags:
Instruction Format: BFIND
31
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
Instruction Fields:
D
Dn.H
S
Dn.L
Timing: 2 + mv oscillator clock cycles
Memory: 1 + mv program words
MOTOROLA
Find Leading One
D.H (Parallel data bus move)
- Not affected.
- Always cleared.
- Set if source operand is zero. Cleared otherwise.
- Set if source operand is negative. Cleared otherwise.
- Not affected.
- Not affected.
- Not affected.
- Not affected.
Not affected.
Not affected.
S,D (move syntax - see the MOVE instruction description.)
d d d
n n n
where nnn = 0-7
s s s
n n n
where nnn = 0-7
DSP96002 USER'S MANUAL
Assembler Syntax:
BFIND
S,D (move syntax - see the MOVE in-
struction description.)
14 13
11
0sss
BFIND
0
0111
1ddd
A - 41

Advertisement

Table of Contents
loading

Table of Contents