PIC16C63-20/SO Microchip Technology, PIC16C63-20/SO Datasheet - Page 157
![IC MCU OTP 4KX14 PWM 28SOIC](/photos/6/59/65909/150-28-soic_sml.jpg)
PIC16C63-20/SO
Manufacturer Part Number
PIC16C63-20/SO
Description
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F818-ISO.pdf
(6 pages)
2.PIC16LC62A-04SP.pdf
(337 pages)
3.PIC16C63-04SP.pdf
(8 pages)
Specifications of PIC16C63-20/SO
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MIL309-1073 - ADAPTER 28-SOIC TO 28-SOIC309-1024 - ADAPTER 28-SOIC TO 28-DIP309-1023 - ADAPTER 28-SOIC TO 28-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
- Current page: 157 of 337
- Download datasheet (3Mb)
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
Example 3:
1997 Microchip Technology Inc.
Subtract W from f
[ label ]
0
d
(f) - (W)
Subtract (2’s complement method) W reg-
ister from register 'f'. If 'd' is 0 the result is
stored in the W register. If 'd' is 1 the
result is stored back in register 'f'.
1
1
SUBWF
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
Q1
00
f
[0,1]
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
127
register 'f'
SUBWF f,d
REG1,1
0010
destination)
Read
Q2
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
?
1
2
1; result is positive
0
2
2
?
?
0
2
1; result is zero
1
1
2
?
?
0xFF
2
0; result is negative
0
Process
dfff
data
Q3
destination
Write to
ffff
Q4
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
TRIS
Operands:
Syntax:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
None
The upper and lower nibbles of register
'f' are exchanged. If 'd' is 0 the result is
placed in W register. If 'd' is 1 the result
is placed in register 'f'.
1
1
Before Instruction
After Instruction
Load TRIS Register
[ label ]
5
(W)
The instruction is supported for code
compatibility with the PIC16C5X prod-
ucts. Since TRIS registers are read-
able and writable, the user can directly
address them.
1
1
To maintain upward compatibility
with future PIC16CXX products, do
not use this instruction.
Decode
SWAPF REG,
Q1
00
00
f
f
[0,1]
127
7
TRIS register f;
PIC16C6X
TRIS
register 'f'
0000
REG1
REG1
W
1110
(destination<7:4>),
(destination<3:0>)
Read
Q2
DS30234D-page 157
f
0
0110
Process
dfff
=
=
=
data
Q3
0xA5
0xA5
0x5A
0fff
destination
ffff
Write to
Q4
Related parts for PIC16C63-20/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C63-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-10/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-10/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-04E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-04E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-20E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-20E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63-10I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C63/JW](/photos/7/29/72984/150-28-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 4KX14 PWM 28CDIP
Manufacturer:
Microchip Technology
Datasheet: