PDSP1601 Mitel Networks Corporation, PDSP1601 Datasheet - Page 11

no-image

PDSP1601

Manufacturer Part Number
PDSP1601
Description
ALU and Barrel Shifter
Manufacturer
Mitel Networks Corporation
Datasheet
ALU Control Instructions
Barrel Shifter Instructions
Mnemonic
Mnemonic
OPONE
SBFOV
OPBYT
BSRSV
SBFU1
SBFU2
SBFZE
OPALT
LSRSV
BSLSV
LSRR1
LSRR2
OPNIB
LSLSV
LSLR1
LSLR2
Op Code
Op Code
<1C>
<1D>
<1A>
<1B>
<1E>
<1F>
<18>
<19>
<0>
<1>
<2>
<3>
<4>
<5>
<6>
<7>
The BFP flag is programmed to activate when an ALU operation causes an overflow of the
16 bit number range. This flag is logically the exclusive-or of the carry into and out of the
MSB of the ALU. For the most significant Byte this flag indicates that the result of an
arithmetic two's complement operation has overflowed into the sign bit. The output of the
ALU is forced to zero for the duration of this instruction.
The BFP flag is programmed to activate when an ALU operation comes within a factor of
two of causing an overflow of the 16 bit number range. For the most significant Byte this
flag indicates that the result of an arithmetic two's complement operation is within a factor
of two of overflowing into the sign bit. The output of the ALU is forced to zero for the duration
of this instruction.
The BFP flag is programmed to activate when an ALU operation comes within a factor of
four of causing an overflow of the 16 bit number range. For the most significant Byte this
flag indicates that the result of an arithmetic two's complement operation is within a factor
of four of overflowing into the sign bit. The output of the ALU is forced to zero for the duration
of this instruction.
The BFP flag is programmed to activate when an ALU operation causes a result of zero.
The output of the ALU is forced to zero for the duration of this instruction. During the
execution of this instruction the BFP flag will become active.
The ALU will output the binary value 0000000000000001, the MSB on the left.
The ALU will output the binary value 0000000011111111, the MSB on the left.
The ALU will output the binary value 0000000000001111, the MSB on the left.
The ALU will output the binary value 0101010101010101, the MSB on the left.
The 16 bit input to the Barrel Shifter is right shifted by the number of places indicated by
the magnitude of the four bit number present in the SV register. The LSBs are dicarded,
and the vacant MSBs are filled with zeros.
The 16 bit input to the Barrel Shifter is left shifted by the number of places indicated by the
magnitude of the four bit number present in the SV register. The LSBs are dicarded, and
the vacant MSBs are filled with zeros.
The 16 bit input to the Barrel Shifter is rotated to the right by the number of places indicated
by the magnitude of the four bit number present in the SV register. The LSBs that exit the
16 bit field to the right, reappear in the vacant MSBs on the left.
The 16 bit input to the Barrel Shifter is rotated to the left by the number of places indicated
by the magnitude of the four bit number present in the SV register. The LSBs that exit the
16 bit field to the right, reappear in the vacant MSBs on the right.
The 16 bit input to the Barrel Shifter is right shifted by the number of places indicated by
the magnitude of the four bit number resident within the R1 register. The LSBs are
discarded, and the vacant MSBs are filled with zeros.
The 16 bit input to the Barrel Shifter is left shifted by the number of places indicated by the
magnitude of the four bit number resident within the R1 register. The LSBs are discarded,
and the vacant LSBs are filled with zeros.
The 16 bit input to the Barrel Shifter is right shifted by the number of places indicated by
the magnitude of the four bit number resident within the R2 register. The LSBs are
discarded, and the vacant MSBs are filled with zeros.
The 16 bit input to the Barrel Shifter is left shifted by the number of places indicated by the
magnitude of the four bit number resident within the R2 register. The LSBs are discarded,
and the vacant LSBs are filled with zeros.
Function
Function
PDSP1601/PDSP1601A
11

Related parts for PDSP1601