tm1300 NXP Semiconductors, tm1300 Datasheet - Page 421

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
Philips Semiconductors
Logical shift right immediate
SYNTAX
FUNCTION
DESCRIPTION
result in r dest that is equal to r src1 logically shifted right by n bits. The value of n must be between 0 and 31, inclusive.
Zeros fill vacated bits from the left.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is unchanged.
EXAMPLES
r30 = 0x7008000f
r30 = 0x7008000f
r10 = 0, r30 = 0x7008000f
r20 = 1, r30 = 0x7008000f
r40 = 0x80030007
r30 = 0x7008000f
r40 = 0x80030007
As shown below, the
The
[ IF r guard ] lsri( n ) r src1
if r guard then {
}
lsri
r dest <31:32– n >
r dest <31– n :0>
Initial Values
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
Intermediate result
r src1 <31: n >
lsri
0
(example: n = 3)
operation takes a single argument in r src1 and an immediate modifier n and produces a
r src1
r dest
lsri(1) r30
lsri(2) r30
IF r10 lsri(4) r30
IF r20 lsri(4) r30
lsri(4) r40
lsri(31) r30
lsri(31) r40
S
3
0
3
0
0
0
0
0
S
S
2
r dest
Operation
Right shifter
r50
r60
r90
32 bits from r src1
r100
r110
PRODUCT SPECIFICATION
r70
r80
r50
r60
no change, since guard is false
r80
r90
r100
r110
DSPCPU Operations for TM1300
0
0
asl asli asr asri lsl lsli
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
0x38040007
0x1c020003
0x07008000
0x08003000
0x00000000
0x00000001
Shift amount n
from operation modifier
lsr rol roli
ATTRIBUTES
SEE ALSO
Result
shifter
7 bits
0..31
1, 2
9
1
1
lsri
A-135

Related parts for tm1300