PIC16C715-04/P Microchip Technology Inc., PIC16C715-04/P Datasheet - Page 80
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
1.PIC16C715-04P.pdf
(177 pages)
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
- Current page: 80 of 177
- Download datasheet (2Mb)
PIC16C71X
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30272A-page 80
2nd Cycle
1st Cycle
TABLE
Return with Literal in W
[ label ]
0
k
TOS
None
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 table
•
•
•
ADDWF PC
RETLW k1
RETLW k2
•
•
•
RETLW kn
Before Instruction
After Instruction
Decode
NOP
Q1
11
k
(W);
255
PC
W
W
RETLW k
literal 'k'
;W = offset
;Begin table
;
; End of table
01xx
Read
NOP
;offset value
Q2
;W now has table value
=
=
0x07
value of k8
kkkk
NOP
NOP
Q3
from the
Write to
kkkk
W, Pop
Stack
NOP
Q4
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
2nd Cycle
1st Cycle
Return from Subroutine
[ label ]
None
TOS
None
Return from subroutine. The stack is
POPed and the top of the stack (TOS)
is loaded into the program counter.
This is a two cycle instruction.
1
2
After Interrupt
RETURN
Decode
NOP
Q1
00
1997 Microchip Technology Inc.
PC
PC =
RETURN
0000
NOP
NOP
Q2
TOS
0000
NOP
NOP
Q3
the Stack
Pop from
1000
NOP
Q4
Related parts for PIC16C715-04/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
18 PIN, 1.75 KB OTP, 36 RAM, 13 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 40MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: