tm1300 NXP Semiconductors, tm1300 Datasheet - Page 420

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
TM1300 Data Book
lsr
SYNTAX
FUNCTION
DESCRIPTION
and r src1 is logically shifted right by this amount. If the rsrc2<31:5> value is not zero, then take this as a shift by 32 or
more bits. 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
A-134
r30 = 0x7008000f, r20 = 1
r30 = 0x7008000f, r42 = 2
r10 = 0, r30 = 0x7008000f, r44 = 4
r20 = 1, r30 = 0x7008000f, r44 = 4
r40 = 0x80030007, r44 = 4
r30 = 0x7008000f, r45 = 0x1f
r30 = 0x8008000f, r45 = 0x1f
r30 = 0x7008000f, r45 = 0x20
r30 = 0x8008000f, r45 = 0x80000000
r30 = 0x8008000f, r45 = 0x23
As shown below, the
The
[ IF r guard ] lsr r src1 r src2
if r guard then {
}
r src1
n
r dest <31:32–n>
r dest <31–n:0>
if rsrc2<31:5> != 0 {
}
rdest <- 0
S
lsr
31
r src2 <4:0>
Initial Values
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
r src1 <31:n>
0
Intermediate result
lsr
(example: n = 3)
PRODUCT SPECIFICATION
operation takes two arguments, r src1 and r src2 . R src2 specifies an unsigned shift amount,
r dest
lsr r30 r20
lsr r30 r42
IF r10 lsr r30 r44
IF r20 lsr r30 r44
lsr r40 r44
lsr r30 r45
lsr r30 r45
lsr r30 r45
lsr r30 r45
lsr r30 r45
0
0
3
0
0
0
0
S
S
2
r dest
0
Operation
Right shifter
r50
r60
r90
r100
r100
r100
r100
r100
32 bits from r src1
r src2
r70
r80
31
r50
r60
no change, since guard is false
r80
r90
r100
r100
r100
r100
r100
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
0x00000000
0x00000000
0x00000000
Philips Semiconductors
Logical shift right
lsri rol roli
ATTRIBUTES
SEE ALSO
r src2
Result
shifter
1, 2
No
96
0
2
1

Related parts for tm1300