PIC17C43 MICROCHIP [Microchip Technology], PIC17C43 Datasheet - Page 51
![no-image](/images/no-image-200.jpg)
PIC17C43
Manufacturer Part Number
PIC17C43
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC17C43.pdf
(240 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C43-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C43-16/P
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC17C43-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C43-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C43-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C43-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C43-25/L023
Manufacturer:
RICHTEK
Quantity:
3 000
- Current page: 51 of 240
- Download datasheet (2Mb)
Example 8-4 shows the sequence to do an 16 x 16
signed multiply. Equation 8-2 shows the algorithm that
used. The 32-bit result is stored in four registers
RES3:RES0. To account for the sign bits of the argu-
ments, each argument pairs most significant bit (MSb)
is tested and the appropriate subtractions are done.
EQUATION 8-2:
RES3:RES0
1996 Microchip Technology Inc.
= ARG1H:ARG1L * ARG2H:ARG2L
= (ARG1H * ARG2H * 2
(ARG1H * ARG2L * 2
(ARG1L * ARG2H * 2
(ARG1L * ARG2L)
(-1 * ARG2H<7> * ARG1H:ARG1L * 2
(-1 * ARG1H<7> * ARG2H:ARG2L * 2
16 x 16 SIGNED
MULTIPLICATION
ALGORITHM
8
8
16
)
)
)
16
16
) +
)
+
+
+
+
EXAMPLE 8-4:
;
;
;
;
;
SIGN_ARG1
;
CONT_CODE
MOVFP
MULWF
MOVPF
MOVPF
MOVFP
MULWF
MOVPF
MOVPF
MOVFP
MULWF
MOVFP
ADDWF
MOVFP
ADDWFC
CLRF
ADDWFC
MOVFP
MULWF
MOVFP
ADDWF
MOVFP
ADDWFC
CLRF
ADDWFC
BTFSS
GOTO
MOVFP
SUBWF
MOVFP
SUBWFB
BTFSS
GOTO
MOVFP
SUBWF
MOVFP
SUBWFB
:
ARG1L, WREG
ARG2L
PRODH, RES1 ;
PRODL, RES0 ;
ARG1H, WREG
ARG2H
PRODH, RES3 ;
PRODL, RES2 ;
ARG1L, WREG
ARG2H
PRODL, WREG ;
RES1, F
PRODH, WREG ;
RES2, F
WREG, F
RES3, F
ARG1H, WREG ;
ARG2L
PRODL, WREG ;
RES1, F
PRODH, WREG ;
RES2, F
WREG, F
RES3, F
ARG2H, 7
SIGN_ARG1
ARG1L, WREG ;
RES2
ARG1H, WREG ;
RES3
ARG1H, 7
CONT_CODE
ARG2L, WREG ;
RES2
ARG2H, WREG ;
RES3
16 x 16 SIGNED MULTIPLY
ROUTINE
PIC17C4X
; ARG1L * ARG2L ->
;
; ARG1H * ARG2H ->
;
; ARG1L * ARG2H ->
;
; Add cross
;
;
;
; ARG1H * ARG2L ->
;
; Add cross
;
;
;
; ARG2H:ARG2L neg?
; no, check ARG1
;
; ARG1H:ARG1L neg?
; no, done
;
PRODH:PRODL
PRODH:PRODL
PRODH:PRODL
PRODH:PRODL
products
products
DS30412C-page 51
Related parts for PIC17C43
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC17C44-16I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC17C, 16MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C756A-16I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC17C, 33MHZ, PLCC-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2480](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F2682-I/PT](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![MCP4024](/images/no-image3.png)
Part Number:
Description:
Low-Cost NV Digital POT with WiperLock™ Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1516](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1822](/images/no-image3.png)
Part Number:
Description:
8/14-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1840](/images/no-image3.png)
Part Number:
Description:
8-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC1263](/images/no-image3.png)
Part Number:
Description:
500mA Fixed Output CMOS LDO with Shutdown
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC1268](/images/no-image3.png)
Part Number:
Description:
500mA Fixed Output, Fast Response CMOS LDO with Shutdown
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC4405](/images/no-image3.png)
Part Number:
Description:
1.5A Dual Open-Drain MOSFET Drivers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC4428](/images/no-image3.png)
Part Number:
Description:
1.5A DUAL HIGH-SPEED POWER MOSFET DRIVERS
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![MCP41100](/images/no-image3.png)
Part Number:
Description:
Single/Dual Digital Potentiometer with SPI™ Interface
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet: