欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F687-I/ML 参数 Datasheet PDF下载

PIC16F687-I/ML图片预览
型号: PIC16F687-I/ML
PDF下载: 下载PDF文件 查看货源
内容描述: 20引脚基于闪存的8位CMOS微控制器采用纳瓦技术 [20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 294 页 / 5272 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F687-I/ML的Datasheet PDF文件第217页浏览型号PIC16F687-I/ML的Datasheet PDF文件第218页浏览型号PIC16F687-I/ML的Datasheet PDF文件第219页浏览型号PIC16F687-I/ML的Datasheet PDF文件第220页浏览型号PIC16F687-I/ML的Datasheet PDF文件第222页浏览型号PIC16F687-I/ML的Datasheet PDF文件第223页浏览型号PIC16F687-I/ML的Datasheet PDF文件第224页浏览型号PIC16F687-I/ML的Datasheet PDF文件第225页  
PIC16F631/677/685/687/689/690  
RETFIE  
Return from Interrupt  
[ label ] RETFIE  
None  
RETLW  
Return with literal in W  
[ label ] RETLW k  
0 k 255  
Syntax:  
Syntax:  
Operands:  
Operation:  
Operands:  
Operation:  
TOS PC,  
1GIE  
k (W);  
TOS PC  
Status Affected:  
Description:  
None  
Status Affected:  
Description:  
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  
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.  
(INTCON<7>). This is a two-cycle  
instruction.  
Words:  
1
2
Cycles:  
Example:  
Words:  
1
CALL TABLE;W contains  
table  
Cycles:  
Example:  
2
RETFIE  
;offset value  
TABLE  
;W now has  
;table value  
After Interrupt  
PC = TOS  
GIE =  
1
ADDWF PC ;W = offset  
RETLW k1 ;Begin table  
RETLW k2 ;  
RETLW kn ;End of table  
Before Instruction  
W
=
0x07  
After Instruction  
W
=
value of k8  
RETURN  
Return from Subroutine  
Syntax:  
[ label ] RETURN  
None  
Operands:  
Operation:  
TOS PC  
Status Affected: None  
Description: 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.  
© 2007 Microchip Technology Inc.  
DS41262D-page 219  
 复制成功!