PIC16C84-04/P Microchip Technology, PIC16C84-04/P Datasheet - Page 57

MICRO CTRL 1KX14 EPR EEPR 18DIP

PIC16C84-04/P

Manufacturer Part Number
PIC16C84-04/P
Description
MICRO CTRL 1KX14 EPR EEPR 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16C84-04/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
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Data Converters
-
Connectivity
-
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DECF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1998 Microchip Technology Inc.
Complement f
[ label ] COMF
0
d
(f)
Z
The contents of register 'f' are comple-
mented. If 'd' is 0 the result is stored in
W. If 'd' is 1 the result is stored back in
register 'f'.
1
1
Before Instruction
After Instruction
Decrement f
[ label ] DECF f,d
0
d
(f) - 1
Z
Decrement 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
COMF
Decode
DECF
Q1
Q1
00
00
f
f
[0,1]
[0,1]
(destination)
127
127
(destination)
REG1
REG1
W
CNT
Z
CNT
Z
register
register
1001
0011
CNT, 1
Read
Read
Q2
Q2
'f'
'f'
REG1,0
=
=
=
=
=
=
=
f,d
Process
Process
dfff
dfff
data
data
Q3
Q3
0x13
0x13
0xEC
0x01
0
0x00
1
destination
destination
ffff
ffff
Write to
Write to
Q4
Q4
.
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
If Skip:
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) - 1
skip if result = 0
None
The contents of register 'f' are decre-
mented. If 'd' is 0 the result is placed in the
W register. If 'd' is 1 the result is placed
back in register 'f'.
If the result is 1, the next instruction, is
executed. If the result is 0, then a NOP is
executed instead making it a 2T
tion.
1
1(2)
Before Instruction
After Instruction
(2nd Cycle)
No-Operat
HERE
CONTINUE •
Decode
Q1
Q1
00
ion
PC
CNT
if CNT =
PC
if CNT
PC
f
[0,1]
127
(destination);
PIC16C84
=
=
=
=
register 'f'
No-Opera
1011
Read
DECFSZ
GOTO
Q2
Q2
tion
address
CNT - 1
0,
address CONTINUE
0,
address HERE+1
DS30445C-page 57
No-Operat
dfff
Process
data
Q3
Q3
ion
HERE
CNT, 1
LOOP
CY
destination
No-Operati
instruc-
ffff
Write to
Q4
Q4
on

Related parts for PIC16C84-04/P