PIC16C84-04I/P Microchip Technology, PIC16C84-04I/P Datasheet - Page 53

IC MIC CTL EEPM 1K 4MHZ IT 18DIP

PIC16C84-04I/P

Manufacturer Part Number
PIC16C84-04I/P
Description
IC MIC CTL EEPM 1K 4MHZ IT 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16C84-04I/P

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
EEPROM
Eeprom Size
64 x 8
Ram Size
36 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Data Converters
-
Connectivity
-
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
Decode
ADDLW
Decode
ADDWF
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
ANDLW
ANDWF
Decode
Decode
Q1
Q1
11
00
k
f
127
255
.
W
W
FSR =
W
FSR =
PIC16C84
W
literal "k"
register
1001
0101
0x5F
FSR, 1
Read
Read
Q2
Q2
'f'
=
=
=
=
(destination)
(W)
DS30445C-page 53
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

Related parts for PIC16C84-04I/P