PIC12F675/ICD Microchip Technology, PIC12F675/ICD Datasheet - Page 77
PIC12F675/ICD
Manufacturer Part Number
PIC12F675/ICD
Description
IC MCU 1K FLASH DEVLP TOOL 14DIP
Manufacturer
Microchip Technology
Datasheets
1.PIC12F629T-ISN.pdf
(136 pages)
2.PIC12F629T-ISN.pdf
(8 pages)
3.PIC12F629T-ISN.pdf
(24 pages)
Specifications of PIC12F675/ICD
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
- Current page: 77 of 136
- Download datasheet (2Mb)
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
2010 Microchip Technology Inc.
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
RETFIE
PC =
GIE =
RETFIE
TOS
1
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC12F629/675
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.
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
Before Instruction
After Instruction
CALL TABLE;W contains
table
•
•
•
ADDWF PCL ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
•
•
•
RETLW kn ; End of table
;offset value
;W now has table value
W
W
RETURN
RETLW k
=
=
DS41190G-page 77
0x07
value of k8
Related parts for PIC12F675/ICD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-Pin/ 8-Bit CMOS Microcontroller with EEPROM Data Memory
Manufacturer:
Microchip Technology
Part Number:
Description:
IC, 8BIT MCU, PIC12, 32MHZ, DFN-8
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC12, 32MHZ, DFN-8
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:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: