RFPIC12C509AG Microchip Technology Inc., RFPIC12C509AG Datasheet - Page 63
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
RFPIC12C509AG
Manufacturer Part Number
RFPIC12C509AG
Description
18/20-pin 8-bit Cmos Microcontroller With Uhf Ask/fsk Transmitter
Manufacturer
Microchip Technology Inc.
Datasheet
1.RFPIC12C509AG.pdf
(104 pages)
- Current page: 63 of 104
- Download datasheet (2Mb)
CALL
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
CLRF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
©
2001 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
PC =
PC =
TOS =
FLAG_REG
FLAG_REG
Z
Subroutine Call
[ label ] CALL k
0
(PC) + 1
k
(STATUS<6:5>)
0
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
HERE
address (HERE)
address (THERE)
address (HERE + 1)
Clear f
[ label ] CLRF
0
00h
1
The contents of register 'f' are cleared
and the Z bit is set.
1
1
CLRF
1001
0000
k
f
=
=
=
PC<7:0>;
PC<8>
Z
31
(f);
255
CALL
FLAG_REG
0x5A
0x00
1
kkkk
011f
Top of Stack;
f
THERE
PC<10:9>;
kkkk
ffff
Preliminary
rfPIC12C509AG/509AF
CLRW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
CLRWDT
Syntax:
Operands:
Operation:
Status Affected: TO, PD
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
Z
WDT counter =
WDT counter =
WDT prescale =
TO
PD
=
=
=
Clear W
[ label ] CLRW
None
00h
1
The W register is cleared. Zero bit (Z)
is set.
1
1
CLRW
0x5A
0x00
1
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
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.
1
1
CLRWDT
0000
0000
=
=
Z
WDT prescaler (if assigned);
TO;
PD
(W);
WDT;
?
0x00
0
1
1
0100
0000
DS70031A-page 61
0000
0100
Related parts for RFPIC12C509AG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DV164102](/photos/14/8/140864/dv164102_tmb.jpg)
Part Number:
Description:
KIT DEV RFPICKIT KIT 1
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: