AT94K05AL-25AQC Atmel, AT94K05AL-25AQC Datasheet - Page 117

no-image

AT94K05AL-25AQC

Manufacturer Part Number
AT94K05AL-25AQC
Description
Manufacturer
Atmel
Datasheet

Specifications of AT94K05AL-25AQC

Device System Gates
5000
Propagation Delay Time
12.1ns
Operating Supply Voltage (typ)
3.3V
Operating Supply Voltage (max)
3.6V
Operating Supply Voltage (min)
3V
Operating Temperature Classification
Commercial
Operating Temperature (min)
0C
Operating Temperature (max)
70C
Mounting
Surface Mount
Pin Count
100
Package Type
PQFP
Lead Free Status / RoHS Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT94K05AL-25AQC
Manufacturer:
Atmel
Quantity:
10 000
4.28.4
4.28.4.1
1138I–FPSLI–1/08
16-bit x 16-bit = 32-bit Operation
Example 4 – Basic Usage 16-bit x 16-bit = 32-bit Integer Multiply
Below is an example of how to call the 16 x 16 = 32 multiply subroutine. This is also illustrated in
Figure
Figure 4-39. 16-bit Multiplication, 32-bit Result
The 32-bit result of the unsigned multiplication of 672 and 1844 will now be in the registers
R19:R18:R17:R16. If “muls16x16_32” is called instead of “mul16x16_32”, a signed multiplication
will be executed. If “mul16x16_16” is called, the result will only be 16 bits long and will be stored
in the register pair R17:R16. In this example, the 16-bit result will not be correct.
ldi R23,HIGH(672)
ldi R22,LOW(672) ; Load the number 672 into r23:r22
ldi R21,HIGH(1844)
ldi R20,LOW(1844); Load the number 1844 into r21:r20
callmul16x16_32
4-39.
; multiply routine
; Call 16bits x 16bits = 32bits
AH AL
+
+
=
(sign
(sign
CH
AH * BH
ext)
ext)
CMH
AL * BH
AH * BL
X
BH BL
CML
AL * BL
AT94KAL Series FPSLIC
CL
1 + 2
3
4
117

Related parts for AT94K05AL-25AQC