tm1300 NXP Semiconductors, tm1300 Datasheet - Page 443

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
Rotate left
SYNTAX
FUNCTION
DESCRIPTION
specify an unsigned rotate amount, and r dest is set to r src1 rotated left by this amount. The most-significant n bits of
r src1 , where n is the rotate amount, appear as the least-significant n bits in r dest .
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is unchanged.
EXAMPLES
r60 = 0x20, r30 = 3
r10 = 0, r60 = 0x20, r30 = 3
r20 = 1, r60 = 0x20, r30 = 3
r70 = 0xfffffffc, r40 = 2
r80 = 0xe, r50 = 0xfffffffe
As shown below, the
The
[ IF r guard ] rol r src1 r src2
if r guard then {
}
r src1
n
r dest <31:n>
r dest <n–1:0>
rol
3
r src2 <4:0>
Intermediate result
Initial Values
(example: n = 9)
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
r src1 <31–n:0>
r src1 <31:32–n>
rol
3
operation takes two arguments, r src1 and r src2 . The least-significant five bits of r src2
rol r60 r30
IF r10 rol r60 r30
IF r20 rol r60 r30
rol r70 r40
rol r80 r50
r dest
2
3
32 bits from r src1
Operation
r dest
0
r90
r120
r125
Left rotator
r100
r110
PRODUCT SPECIFICATION
r src2
3
0
9
3
r90
no change, since guard is false
r110
r120
r125
0x100
0x100
0xfffffff3
0x80000003 (r50 is effectively equal to 0x1e)
DSPCPU Operations for TM1300
2
0
roli asr asri lsl lsli lsr
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
32 bits from r src1
Five LSBs of r src2
Result
ATTRIBUTES
SEE ALSO
lsri
4
n
shifter
1, 2
No
97
0
2
1
A-157
rol
0

Related parts for tm1300