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

PIC16F688-I/ST 参数 Datasheet PDF下载

PIC16F688-I/ST图片预览
型号: PIC16F688-I/ST
PDF下载: 下载PDF文件 查看货源
内容描述: 14引脚基于闪存的8位CMOS微控制器采用纳瓦技术 [14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 202 页 / 3832 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F688-I/ST的Datasheet PDF文件第133页浏览型号PIC16F688-I/ST的Datasheet PDF文件第134页浏览型号PIC16F688-I/ST的Datasheet PDF文件第135页浏览型号PIC16F688-I/ST的Datasheet PDF文件第136页浏览型号PIC16F688-I/ST的Datasheet PDF文件第138页浏览型号PIC16F688-I/ST的Datasheet PDF文件第139页浏览型号PIC16F688-I/ST的Datasheet PDF文件第140页浏览型号PIC16F688-I/ST的Datasheet PDF文件第141页  
PIC16F688  
RETFIE  
Return from Interrupt  
[ label ] RETFIE  
None  
RETLW  
Return with literal in W  
Syntax:  
Syntax:  
[ label ] RETLW k  
0 k 255  
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  
;W now has table value  
TABLE  
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.  
DS41203D-page 135  
 复制成功!