tm1300 NXP Semiconductors, tm1300 Datasheet - Page 453

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
Select unsigned byte
SYNTAX
FUNCTION
DESCRIPTION
bits, and stores the result in r dest . The value of r src2 determines which byte is selected, with r src2 =0 selecting the
LSB of r src1 and r src2 =3 selecting the MSB of r src1 . If rsrc2 is not between 0 and 3 inclusive, the result of
is undefined.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
r30 = 0x44332211, r40 = 1
r10 = 0, r60 = 0xddccbbaa, r70 = 2
r20 = 1, r60 = 0xddccbbaa, r70 = 2
r100 = 0xffffff7f, r110 = 0
As shown below, the
The
[ IF r guard ] ubytesel r src1 r src2
if r guard then {
}
r src1
if r src2 = 0 then
else if r src2 = 1 then
else if r src2 = 2 then
else if r src2 = 3 then
ubytesel
r dest
r dest
r dest
r dest
3
unsigned
Initial Values
zero_ext8to32(r src1 <7:0>)
zero_ext8to32(r src1 <15:8>)
zero_ext8to32(r src1 <23:15>)
zero_ext8to32(r src1 <31:24>)
2
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
unsigned
3
ubytesel
2
1
unsigned
1
r dest
operation selects one byte from the argument, r src1 , zero-extends the byte to 32
ubytesel r30 r40
IF r10 ubytesel r60 r70
IF r20 ubytesel r60 r70
ubytesel r100 r110
3
0
0
0
0
7
0
unsigned
0
0
0
0
0
0
0
0
0
Operation
r dest
0
0
0
0
0
0
PRODUCT SPECIFICATION
r src2
0
r50
0
0
r120
3
0
0
0
7
r80
r90
unsigned
DSPCPU Operations for TM1300
r50
no change, since guard is false
r90
r120
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
ibytesel sex8 packbytes
0x00000022
0x000000cc
0x0000007f
ATTRIBUTES
SEE ALSO
Result
ubytesel
ubytesel
1, 2, 3, 4, 5
1
alu
No
55
0
2
1
A-167

Related parts for tm1300