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

12C508A 参数 Datasheet PDF下载

12C508A图片预览
型号: 12C508A
PDF下载: 下载PDF文件 查看货源
内容描述: 8引脚, 8位CMOS微控制器 [8-Pin, 8-Bit CMOS Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 113 页 / 1509 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号12C508A的Datasheet PDF文件第47页浏览型号12C508A的Datasheet PDF文件第48页浏览型号12C508A的Datasheet PDF文件第49页浏览型号12C508A的Datasheet PDF文件第50页浏览型号12C508A的Datasheet PDF文件第52页浏览型号12C508A的Datasheet PDF文件第53页浏览型号12C508A的Datasheet PDF文件第54页浏览型号12C508A的Datasheet PDF文件第55页  
PIC12C5XX  
CALL  
Subroutine Call  
[ label ] CALL  
0 k 255  
CLRW  
Clear W  
Syntax:  
k
Syntax:  
[ label ] CLRW  
None  
Operands:  
Operation:  
Operands:  
Operation:  
(PC) + 1Top of Stack;  
k PC<7:0>;  
00h (W);  
1 Z  
(STATUS<6:5>) PC<10:9>;  
0 PC<8>  
Status Affected:  
Encoding:  
Z
0000  
0100  
0000  
Status Affected: None  
The W register is cleared. Zero bit (Z)  
is set.  
Description:  
1001  
kkkk  
kkkk  
Encoding:  
Subroutine call. First, return address  
(PC+1) is pushed onto the stack. The  
eight bit immediate address is loaded  
into PC bits <7:0>. The upper bits  
PC<10:9> are loaded from STA-  
TUS<6:5>, PC<8> is cleared. CALLis  
a two cycle instruction.  
Description:  
Words:  
1
Cycles:  
Example:  
1
CLRW  
Before Instruction  
0x5A  
W
=
After Instruction  
Words:  
1
2
W
=
0x00  
Cycles:  
Example:  
Z
=
1
HERE  
CALL  
THERE  
Before Instruction  
PC address (HERE)  
CLRWDT  
Clear Watchdog Timer  
[ label ] CLRWDT  
None  
=
Syntax:  
After Instruction  
PC address (THERE)  
TOS = + 1)  
=
Operands:  
Operation:  
address (HERE  
00h WDT;  
0 WDT prescaler (if assigned);  
1 TO;  
1 PD  
CLRF  
Clear f  
Syntax:  
[ label ] CLRF  
0 f 31  
f
Status Affected: TO, PD  
Operands:  
Operation:  
0000  
0000  
0100  
Encoding:  
00h (f);  
1 Z  
The CLRWDTinstruction resets the  
WDT. It also resets the prescaler, if the  
prescaler is assigned to the WDT and  
not Timer0. Status bits TO and PD are  
set.  
Description:  
Status Affected:  
Encoding:  
Z
0000  
011f  
ffff  
The contents of register ’f’ are cleared  
and the Z bit is set.  
Description:  
Words:  
1
Cycles:  
Example:  
1
Words:  
1
1
CLRWDT  
Cycles:  
Example:  
Before Instruction  
CLRF  
FLAG_REG  
WDT counter  
=
=
?
Before Instruction  
FLAG_REG  
After Instruction  
WDT counter  
=
0x5A  
0x00  
After Instruction  
WDT prescale =  
0
1
1
FLAG_REG  
Z
=
=
0x00  
1
TO  
PD  
=
=
1999 Microchip Technology Inc.  
DS40139E-page 51  
 复制成功!