PIC16F59-E/P Microchip Technology, PIC16F59-E/P Datasheet - Page 51
![IC PIC MCU FLASH 2KX12 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16F59-E/P
Manufacturer Part Number
PIC16F59-E/P
Description
IC PIC MCU FLASH 2KX12 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16F59-E/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
32
Program Memory Size
3KB (2K x 12)
Program Memory Type
FLASH
Ram Size
134 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
134 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
32
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
DV164101, DV164120
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F59-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
© 2007 Microchip Technology Inc.
Before Instruction
After Instruction
TEMP_REG =
W
TEMP_REG =
W
(W) → (f)
Move W to f
[ label ]
0 ≤ f ≤ 31
Move data from the W register to
register ‘f’.
1
1
MOVWF TEMP_REG
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
=
=
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
OPTION
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
W
OPTION
W
W
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
The W register is loaded with the
eight-bit literal ‘k’. The program
counter is loaded from the top of
the stack (the return address). This
is a two-cycle instruction.
1
2
CALL TABLE;W contains
•
•
•
ADDWF PC
RETLW k1
RETLW k2
•
•
•
RETLW kn
Load OPTION Register
[ label ]
None
(W) → OPTION
The content of the W register is
loaded into the Option register.
1
1
OPTION
1000
0000
=
=
=
=
0x07
value of k8
0x07
0x07
RETLW k
kkkk
OPTION
PIC16F5X
0000
;table offset
;value.
;W now has table
;value.
;W = offset
;Begin table
;
; End of table
DS41213D-page 49
kkkk
0010