DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C57C-RC/JW 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC16C57C-RC/JW
Microchip
Microchip Technology 
PIC16C57C-RC/JW Datasheet PDF : 192 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PIC16C5X
CALL
Subroutine Call
Syntax:
Operands:
Operation:
[ label ] CALL k
0 k 255
(PC) + 1TOS;
k PC<7:0>;
(STATUS<6:5>) PC<10:9>;
0 PC<8>
Status Affected: None
Encoding:
1001 kkkk kkkk
Description:
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 STATUS<6:5>,
PC<8> is cleared. CALL is a two-
cycle instruction.
Words:
Cycles:
Example:
1
2
HERE
CALL
THERE
Before Instruction
PC = address (HERE)
After Instruction
PC = address (THERE)
TOS = address (HERE + 1)
CLRF
Clear f
Syntax:
[ label ] CLRF f
Operands:
0 f 31
Operation:
00h (f);
1Z
Status Affected: Z
Encoding:
0000 011f ffff
Description:
Words:
The contents of register 'f' are
cleared and the Z bit is set.
1
Cycles:
1
Example:
CLRF
Before Instruction
FLAG_REG =
After Instruction
FLAG_REG =
Z
=
FLAG_REG
0x5A
0x00
1
CLRW
Clear W
Syntax:
[ label ] CLRW
Operands:
Operation:
None
00h (W);
1Z
Status Affected: Z
Encoding:
0000 0100 0000
Description:
The W register is cleared. Zero bit
(Z) is set.
Words:
1
Cycles:
1
Example:
CLRW
Before Instruction
W = 0x5A
After Instruction
W = 0x00
Z =1
CLRWDT
Clear Watchdog Timer
Syntax:
[ label ] CLRWDT
Operands:
None
Operation:
00h WDT;
0 WDT prescaler (if assigned);
1 TO;
1 PD
Status Affected: TO, PD
Encoding:
Description:
Words:
Cycles:
0000 0000 0100
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
Example:
CLRWDT
Before Instruction
WDT counter =
After Instruction
WDT counter =
WDT prescaler =
TO
=
PD
=
?
0x00
0
1
1
1997-2013 Microchip Technology Inc.
Preliminary
DS30453E-page 53

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]