tm1300 NXP Semiconductors, tm1300 Datasheet - Page 352

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
h_dspiabs
SYNTAX
FUNCTION
DESCRIPTION
stores the clipped value into r dest . All values are signed integers. This operation requires a zero as first argument. The
programmer is advised to use the unary pseudo operation
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
A-66
r30 = 0xffffffff
r10 = 0, r40 = 0x80000001
r20 = 1, r40 = 0x80000001
r50 = 0x80000000
r90 = 0x7fffffff
The
The
[ IF r guard ] h_dspiabs r0 r src2
if r guard then {
}
if r src2 >= 0 then
else if rsrc2 = 0x80000000 then
else
h_dspiabs
h_dspiabs
r dest
r dest
r dest
Initial Values
r src2
0x7fffffff
–r src2
operation computes the absolute value of rsrc2, clips the result into the range [0x0..0x7fffffff], and
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
PRODUCT SPECIFICATION
h_dspiabs r0 r30
IF r10 h_dspiabs r0 r40
IF r20 h_dspiabs r0 r40
h_dspiabs r0 r50
h_dspiabs r0 r90
r dest
Operation
dspiabs
r60
r80
r110
Clipped signed absolute value
instead.
r70
r100
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r60
no change, since guard is false
r100
r80
r110
dspiadd dspimul dspisub
dspuadd dspumul dspusub
h_dspiabs dspidualabs
Philips Semiconductors
0x00000001
0x7fffffff
0x7fffffff
0x7fffffff
ATTRIBUTES
SEE ALSO
Result
dspalu
1, 3
No
65
2
2

Related parts for tm1300