PIC16F57-I/P Microchip Technology, PIC16F57-I/P Datasheet - Page 53

IC MCU FLASH 2KX12 28DIP

PIC16F57-I/P

Manufacturer Part Number
PIC16F57-I/P
Description
IC MCU FLASH 2KX12 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F57-I/P

Program Memory Type
FLASH
Program Memory Size
3KB (2K x 12)
Package / Case
28-DIP (0.600", 15.24mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
20
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
20
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
DV164120, DV164101, ICE2000
Minimum Operating Temperature
- 40 C
Data Rom Size
2 K
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28XP - SOCKET TRANSITION ICE 28DIPAC164001 - MODULE SKT PROMATEII 18/28DIP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
© 2007 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
After Instruction
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
Before Instruction
REG1
W
C
REG1
W
C
Subtract (2’s complement method)
Subtract W from f
[ label ] SUBWF f, d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – (W) → (dest)
the W register 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
0000
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
1
2
1
2
2
?
0
2
1
1
2
?
0xFF
2
0
10df
REG1, 1
; result is positive
; result is zero
; result is negative
ffff
SWAPF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TRIS
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
REG1
W
W
TRISB
Swap Nibbles in f
[ label ] SWAPF f, d
0 ≤ f ≤ 31
d ∈ [0,1]
(f<3:0>) → (dest<7:4>);
(f<7:4>) → (dest<3:0>)
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
SWAPF REG1, 0
=
=
Load TRIS Register
[ label ] TRIS
f = 5, 6, 7, 8 or 9
(W) → TRIS register f
TRIS register ‘f’ (f = 5, 6 or 7) is
loaded with the contents of the W
register.
1
1
TRIS
0011
0000
=
=
=
0xA5
0xA5
0xA5
0xA5
0x5A
PORTB
10df
PIC16F5X
0000
DS41213D-page 51
f
ffff
0fff

Related parts for PIC16F57-I/P