PIC16F913-I/SP Microchip Technology Inc., PIC16F913-I/SP Datasheet - Page 214

no-image

PIC16F913-I/SP

Manufacturer Part Number
PIC16F913-I/SP
Description
28 PIN, 7 KB FLASH, 352 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F913-I/SP

A/d Inputs
5-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
256 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F913-I/SP
Manufacturer:
TI
Quantity:
212
PIC16F917/916/914/913
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS41250E-page 212
Return from Interrupt
[ label ]
None
TOS
1
None
Return from Interrupt. Stack is
POPed and Top-of-Stack (TOS) is
loaded in the PC. Interrupts are
enabled by setting Global Interrupt
Enable bit, GIE (INTCON<7>).
This is a two-cycle instruction.
1
2
After Interrupt
RETFIE
00
GIE
PC,
PC =
GIE =
RETFIE
0000
TOS
1
0000
1001
Preliminary
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
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
value
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
TOS
Return from Subroutine
[ label ]
None
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.
11
k
© 2005 Microchip Technology Inc.
(W);
255
PC
PC
W
W
RETLW k
RETURN
01xx
; End of table
=
=
;offset value
;W now has table
;Begin table
;
;W = offset
0x07
value of k8
kkkk
kkkk

Related parts for PIC16F913-I/SP