If Con F2 - Lucent Technologies DSP1617 Information Manual

Digital signal processor
Table of Contents

Advertisement

Information Manual
April 1998

if CON F2

(if CONdition is true, then perform special function instruction)
test CONdition;
if true, then perform F2
The specified condition is tested. If it is true, the special function operation F2 is performed. (See
page B-3
for the conditions that can be tested, i.e., encoded in the CON field). The F2 functions can also be per-
formed unconditionally, i.e., written by themselves and encoded as a condition of true.
The F2 functions that can be conditionally performed, i.e., encoded in the F2 field, are as follows:
F2
Operation
0000
aD = aS >> 1
0001
aD = aS << 1
0010
aD = aS >> 4
0011
aD = aS << 4
0100
aD = aS >> 8
0101
aD = aS << 8
0110
aD = aS >> 16
0111
aD = aS << 16
Bit
15
14
Field
1
0
Note: The D and S fields are used to specify aD and aS.
Lucent Technologies Inc.
DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
F2
Operation
1000
aD = p
1001
aDh = aSh + 1
1010
aS = ~aS
1011
aD = rnd(aS)
1100
aD = y
1101
aD = aS + 1
1110
aD = aS
1111
aD = –aS
13
12
11
10
0
1
1
D
Words: 1
Cycles: 1
Group: Special Function
Addressing: Register
Flags affected: LMI, LEQ, LLV, LMV
Interruptible: Yes
Cacheable: Yes
Format: 3
DRAFT COPY
9
8—5
S
F2
Instruction Set Summary
Table B-1 on
4—0
CON
B-18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp1629Dsp1618Dsp1611Dsp1627Dsp1628

Table of Contents