tm1300 NXP Semiconductors, tm1300 Datasheet - Page 303

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
Compute carry bit from unsigned add
SYNTAX
FUNCTION
DESCRIPTION
generates a carry (if the sum is greater than 2
to 0.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
r70 = 2, r30 = 0xfffffffc
r10 = 0, r70 = 2, r30 = 0xfffffffc
r20 = 1, r70 = 2, r30 = 0xfffffffc
r60 = 4, r30 = 0xfffffffc
r30 = 0xfffffffc
The
The
[ IF r guard ] carry r src1 r src2
if r guard then {
}
if (r src1 +r src2 ) < 2
else
carry
carry
r dest
r dest
Initial Values
0
1
operation computes the unsigned sum of the first and second arguments, r src1 +r src2 . If the sum
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
32
then
carry r70 r30
IF r10 carry r70 r30
IF r20 carry r70 r30
carry r60 r30
carry r30 r30
32
-1), 1 is stored in the destination register, r dest ; otherwise, r dest is set
r dest
Operation
r80
r110
r120
PRODUCT SPECIFICATION
r90
r100
DSPCPU Operations for TM1300
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r80
no change, since guard is false
r100
r110
r120
0
0
1
1
ATTRIBUTES
SEE ALSO
borrow
Result
1, 2, 3, 4, 5
carry
alu
No
45
2
1
A-17

Related parts for tm1300