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

PIC16C715-04E/SS 参数 Datasheet PDF下载

PIC16C715-04E/SS图片预览
型号: PIC16C715-04E/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 8位CMOS微控制器与A / D转换器 [8-Bit CMOS Microcontrollers with A/D Converter]
分类和应用: 转换器微控制器
文件页数/大小: 176 页 / 1596 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C715-04E/SS的Datasheet PDF文件第76页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第77页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第78页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第79页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第81页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第82页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第83页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第84页  
PIC16C71X  
RETLW  
Return with Literal in W  
RETURN  
Return from Subroutine  
[ label ] RETURN  
None  
Syntax:  
[ label ] RETLW k  
Syntax:  
Operands:  
Operation:  
0 k 255  
Operands:  
Operation:  
Status Affected:  
Encoding:  
Description:  
k (W);  
TOS PC  
TOS PC  
None  
Status Affected:  
Encoding:  
None  
00  
0000  
0000  
1000  
11  
01xx  
kkkk  
kkkk  
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.  
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.  
Description:  
Words:  
1
2
Cycles:  
Words:  
1
2
Q Cycle Activity:  
1st Cycle  
Q1  
Q2  
Q3  
Q4  
Cycles:  
Decode  
NOP  
NOP  
Pop from  
the Stack  
Q Cycle Activity:  
1st Cycle  
Q1  
Q2  
Q3  
Q4  
Decode  
Read  
NOP  
Write to  
W, Pop  
from the  
Stack  
NOP  
NOP  
NOP  
NOP  
2nd Cycle  
Example  
literal 'k'  
RETURN  
NOP  
NOP  
NOP  
NOP  
2nd Cycle  
Example  
After Interrupt  
PC  
=
TOS  
CALL TABLE ;W contains table  
;offset value  
;W now has table value  
TABLE  
ADDWF PC  
RETLW k1  
RETLW k2  
;W = offset  
;Begin table  
;
RETLW kn  
; End of table  
Before Instruction  
W
=
0x07  
After Instruction  
W
=
value of k8  
DS30272A-page 80  
1997 Microchip Technology Inc.  
 复制成功!