PIC16C621-04/SO Microchip Technology, PIC16C621-04/SO Datasheet - Page 72
![IC MCU OTP 1KX14 COMP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16C621-04/SO
Manufacturer Part Number
PIC16C621-04/SO
Description
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C621-04/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 72 of 128
- Download datasheet (4Mb)
PIC16C62X
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 70
Return from Interrupt
[ label ]
None
TOS → PC,
1 → GIE
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
00
RETFIE
PC =
GIE =
RETFIE
0000
TOS
1
0000
1001
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
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
Return from Subroutine
[ label ]
None
TOS → PC
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
11
00
RETURN
2003 Microchip Technology Inc.
;offset value
;W now has table value
W
W
PC =
RETLW k
RETURN
01xx
0000
;Begin table
;
; End of table
=
=
;W = offset
0x07
value of k8
TOS
kkkk
0000
kkkk
1000
Related parts for PIC16C621-04/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C621-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C621/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 1KX14 COMP 18CDIP
Manufacturer:
Microchip Technology
Datasheet: