參數(shù)資料
型號: PIC12CR509A
廠商: Microchip Technology Inc.
英文描述: 8-Pin, 8-Bit CMOS Microcontrollers
中文描述: 8引腳,8位CMOS微控制器
文件頁數(shù): 51/113頁
文件大小: 1604K
代理商: PIC12CR509A
1999 Microchip Technology Inc.
DS40139E-page 51
PIC12C5XX
CALL
Syntax:
Subroutine Call
[ label CALL k
0
k
255
(PC) + 1
Top of Stack;
k
PC<7:0>;
(STATUS<6:5>)
PC<10:9>;
0
PC<8>
None
Operands:
Operation:
Status Affected:
Encoding:
Description:
1001
kkkk
kkkk
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.
CALL
is
a two cycle instruction.
1
2
Words:
Cycles:
Example:
Before Instruction
PC =
After Instruction
PC =
TOS =
HERE
CALL
THERE
address
(HERE)
address
(THERE)
address
(HERE + 1)
CLRF
Clear f
Syntax:
Operands:
[ label CLRF f
0
f
31
00h
(f);
1
Z
Z
Operation:
Status Affected:
Encoding:
Description:
0000
011f
ffff
The contents of register ’f’ are cleared
and the Z bit is set.
1
Words:
Cycles:
Example:
1
CLRF
FLAG_REG
Before Instruction
FLAG_REG
=
0x5A
After Instruction
FLAG_REG
Z
=
=
0x00
1
CLRW
Syntax:
Clear W
[ label CLRW
Operands:
Operation:
None
00h
(W);
1
Z
Z
Status Affected:
Encoding:
0000
0100
0000
Description:
The W register is cleared. Zero bit (Z)
is set.
1
1
Words:
Cycles:
Example:
Before Instruction
W
After Instruction
W
Z
CLRW
=
0x5A
=
=
0x00
1
CLRWDT
Syntax:
Clear Watchdog Timer
[ label CLRWDT
Operands:
Operation:
None
00h
WDT;
0
WDT prescaler (if assigned);
1
TO;
1
PD
TO, PD
Status Affected:
Encoding:
0000
0000
0100
Description:
The
CLRWDT
instruction 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.
Words:
Cycles:
1
1
Example:
Before Instruction
WDT counter =
After Instruction
WDT counter =
WDT prescale =
TO
PD
CLRWDT
0x00
0
1
1
=
=
相關(guān)PDF資料
PDF描述
PIC12F505 8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F506 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510_07 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F519 8-Pin, 8-Bit Flash Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12CR509A-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/IJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers