PIC16C715-04/P Microchip Technology Inc., PIC16C715-04/P Datasheet - Page 82

no-image

PIC16C715-04/P

Manufacturer Part Number
PIC16C715-04/P
Description
18 PIN, 3.5 KB OTP, 128 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C715-04/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
OTP
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16C71X
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS30272A-page 82
[ label ]
None
00h
0
1
0
TO, PD
The power-down status bit, PD is
cleared. Time-out status bit, TO is
set. Watchdog Timer and its pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 8.8 for more details.
1
1
SLEEP
Decode
Q1
00
WDT prescaler,
TO,
PD
WDT,
SLEEP
0000
NOP
Q2
0110
NOP
Q3
0011
Go to
Sleep
Q4
SUBLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
Example 3:
Subtract W from Literal
[ label ]
0
k - (W)
C, DC, Z
The W register is subtracted (2’s comple-
ment method) from the eight bit literal 'k'.
The result is placed in the W register.
1
1
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
Q1
11
k
255
1997 Microchip Technology Inc.
W
C
Z
W
C
Z
W
C
Z
W
C
Z
W
C
Z
W
C
tive
Z
W)
SUBLW k
0x02
literal 'k'
110x
Read
Q2
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
1
?
?
1
1; result is positive
0
2
?
?
0
1; result is zero
1
3
?
?
0xFF
0; result is nega-
0
Process
kkkk
data
Q3
Write to W
kkkk
Q4

Related parts for PIC16C715-04/P