AT94K05AL ATMEL Corporation, AT94K05AL Datasheet - Page 110
AT94K05AL
Manufacturer Part Number
AT94K05AL
Description
Fpslic Devices Combine 5K Gates of Atmel's Patented AT40K Fpga Architecture, a 20 Mips Avr 8-bit Risc Microprocessor Core, Numerous Fixed Microcontroller Peripheries And up to 36K Bytes of Program And Data SRAM.
Manufacturer
ATMEL Corporation
Datasheet
1.AT94K05AL.pdf
(192 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 110 of 192
- Download datasheet (2Mb)
16-bit x 16-bit = 32-bit
Operation
Example 4 –
Basic Usage
16-bit x 16-bit = 32-bit
Integer Multiply
110
AT94K Series FPSLIC
Below is an example of how to call the 16 x 16 = 32 multiply subroutine. This is also illustrated
in Figure 62.
Figure 62. 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 multiplica-
tion 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
; multiply routine
; Call 16bits x 16bits = 32bits
AH AL
+
+
=
(sign
(sign
AH * BH
CH
ext)
ext)
CMH
AL * BH
AH * BL
X
BH BL
CML
AL * BL
CL
1 + 2
3
4
Rev. 1138F–FPSLI–06/02
Related parts for AT94K05AL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
5K - 40K Gates of At40k FPGA with 8-bit Microcontroller, up to 36K Bytes of SRAM and On-chip JTAG ICE
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: