PIC16F57-I/P Microchip Technology Inc., PIC16F57-I/P Datasheet - Page 47

no-image

PIC16F57-I/P

Manufacturer Part Number
PIC16F57-I/P
Description
28 PIN, 3K FLASH, 72 RAM, 20 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F57-I/P

Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Frequency
20 MHz
Input Output
20
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin PDIP
Programmable Memory
3K Bytes
Ram Size
72 Bytes
Speed
20 MHz
Timers
1-8-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
CALL
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
CLRF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
 2004 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
FLAG_REG =
FLAG_REG =
Z
PC
PC
TOS =
=
=
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 Status<6:5>,
PC<8> is cleared. CALL is a
two-cycle instruction.
1
2
HERE
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
address (HERE)
address (THERE)
address (HERE + 1)
k
f
=
PC<7:0>;
PC<8>
Z
31
(f);
255
CALL
FLAG_REG
0x5A
0x00
1
kkkk
011f
TOS;
f
PC<10:9>;
THERE
kkkk
ffff
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
WDT counter
WDT counter
WDT prescaler =
TO
PD
W
W
Z
=
=
=
Clear W
[ label ] CLRW
None
00h
1
The W register is cleared. Zero bit
(Z) is set.
1
1
CLRW
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
0x5A
0x00
1
Z
WDT prescaler (if assigned);
TO;
PD
=
=
=
=
(W);
WDT;
0100
0000
PIC16F5X
0x00
0
1
1
?
DS41213C-page 45
0000
0100

Related parts for PIC16F57-I/P