tm1300 NXP Semiconductors, tm1300 Datasheet - Page 296

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
asri
SYNTAX
FUNCTION
DESCRIPTION
result in r dest that is equal to r src1 arithmetically shifted right by n bits. The value of n must be between 0 and 31,
inclusive. The MSB (sign bit) of r src1 is replicated as needed to 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-10
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 ] asri( n ) r src1
if r guard then {
}
asri
r dest <31:31– n >
r dest <30– 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 >
asri
r src1 <31>
(example: n = 3)
PRODUCT SPECIFICATION
operation takes a single argument in r src1 and an immediate modifier n and produces a
r src1
r dest
asri(1) r30
asri(2) r30
IF r10 asri(4) r30
IF r20 asri(4) r30
asri(4) r40
asri(31) r30
asri(31) r40
S
S
S
3
3
S
S
S
S
S
S
2
r dest
Arithmetic shift right by immediate amount
Operation
Right shifter
r50
r60
r90
32 bits from r src1
r100
r110
r70
r80
0
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
asl asli asr lsl lsli lsr
r50
r60
no change, since guard is false
r80
r90
r100
r110
Shift amount n
from operation modifier
Philips Semiconductors
0x38040007
0x1c020003
0x07008000
0xf8003000
0x00000000
0xffffffff
lsri rol roli
ATTRIBUTES
SEE ALSO
Result
shifter
7 bits
0..31
1, 2
10
1
1

Related parts for tm1300