PIC16F84-04I/SO Microchip Technology, PIC16F84-04I/SO Datasheet - Page 57
![IC MCU FLASH 1KX14 EE 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F84-04I/SO
Manufacturer Part Number
PIC16F84-04I/SO
Description
IC MCU FLASH 1KX14 EE 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F688T-ISL.pdf
(688 pages)
2.PIC16LF84A-04P.pdf
(125 pages)
3.PIC16LF84A-04P.pdf
(4 pages)
Specifications of PIC16F84-04I/SO
Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16F
No. Of I/o's
13
Eeprom Memory Size
64Byte
Ram Memory Size
68Byte
Cpu Speed
4MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MIL309-1075 - ADAPTER 18-SOIC TO 18-SOIC309-1011 - ADAPTER 18-SOIC TO 18-DIP309-1010 - ADAPTER 18-SOIC TO 18-DIPAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
9.1
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1998 Microchip Technology Inc.
Instruction Descriptions
Add Literal and W
[ label ] ADDLW
0
(W) + k
C, DC, Z
The contents of the W register are
added to the eight bit literal ’k’ and the
result is placed in the W register
1
1
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
Add the contents of the W register with
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
Before Instruction
After Instruction
ADDLW
ADDWF
Decode
Decode
Q1
Q1
11
00
k
f
127
255
W
W
W
FSR =
W
FSR =
literal ’k’
register
(W)
0x15
111x
0111
FSR, 0
Read
Read
(destination)
Q2
Q2
’f’
=
=
=
=
0x10
0x25
0x17
0xC2
0xD9
0xC2
k
f,d
Process
Process
kkkk
dfff
data
data
Q3
Q3
.
destination
Write to
.
kkkk
Write to
ffff
Q4
Q4
W
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
AND Literal with W
[ label ] ANDLW
0
(W) .AND. (k)
Z
The contents of W register are
AND’ed with the eight bit literal 'k'. The
result is placed in the W register
1
1
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
Z
AND the W register with register 'f'. If 'd'
is 0 the result is stored in the W regis-
ter. If 'd' is 1 the result is stored back in
register 'f'
1
1
Before Instruction
After Instruction
Decode
ANDLW
Decode
ANDWF
Q1
Q1
11
00
k
f
127
255
.
W
W
FSR =
W
FSR =
PIC16F8X
W
literal "k"
register
1001
0101
0x5F
FSR, 1
Read
Read
Q2
Q2
’f’
=
=
=
=
(destination)
(W)
DS30430C-page 57
0xA3
0x03
0x17
0xC2
0x17
0x02
k
f,d
kkkk
Process
dfff
Process
data
data
Q3
Q3
destination
Write to
kkkk
ffff
.
Write to
Q4
W
Q4