16F870 Microchip, 16F870 Datasheet - Page 109
![no-image](/images/no-image-200.jpg)
16F870
Manufacturer Part Number
16F870
Description
Search -----> PIC16F870
Manufacturer
Microchip
Datasheet
1.16F870.pdf
(172 pages)
- Current page: 109 of 172
- Download datasheet (4Mb)
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Description:
INCF
Syntax:
Operands:
Operation:
Status Affected:
Description:
2003 Microchip Technology Inc.
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) - 1
skip if result = 0
None
The contents of register 'f' are
decremented. If 'd' is 0, the result
is placed in the W register. If 'd' is
1, the result is placed back in
register 'f'.
If the result is 1, the next instruc-
tion is executed. If the result is 0,
then a NOP is executed instead
making it a 2 T
Unconditional Branch
[ label ]
0
k
PCLATH<4:3>
None
GOTO is an unconditional branch.
The eleven-bit immediate value is
loaded into PC bits <10:0>. The
upper bits of PC are loaded from
PCLATH<4:3>. GOTO is a
two-cycle instruction.
Increment f
[ label ]
0
d
(f) + 1
Z
The contents of register 'f' are
incremented. If 'd' is 0, the result
is placed in the W register. If 'd' is
1, the result is placed back in
register 'f'.
f
k
f
[0,1]
[0,1]
PC<10:0>
127
127
2047
(destination);
GOTO k
(destination)
INCF f,d
CY
instruction.
PC<12:11>
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC16F870/871
Increment f, Skip if 0
[ label ]
0
d
(f) + 1
None
The contents of register 'f' are
incremented. If 'd' is 0, the result is
placed in the W register. If 'd' is 1,
the result is placed back in
register 'f'.
If the result is 1, the next instruc-
tion is executed. If the result is 0,
a NOP is executed instead, making
it a 2 T
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with
register 'f'. If 'd' is 0 the result is
placed in the W register. If 'd' is 1
the result is placed back in
register 'f'.
skip if result = 0
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register are
OR’ed with the eight bit literal 'k'.
The result is placed in the W
register.
f
[0,1]
f
[0,1]
k
CY
127
127
255
(destination),
INCFSZ f,d
instruction.
IORWF
IORLW k
(W)
(destination)
DS30569B-page 107
f,d
Related parts for 16F870
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![STM-16](/images/no-image3.png)
Part Number:
Description:
16 fold Spectroscopy Amplifier with Discriminators and Multiplicity Trigger
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![m66311fp](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
16-bit Led Driver With Shift Register And Latch
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![m66014fp](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
16-bit Serial Bus Controller
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![pt8300](/images/manufacturer_photos/0/5/540/princeton_technology_corp__tmb.jpg)
Part Number:
Description:
16-bit I/o Expander Ic
Manufacturer:
Princeton Technology Corp.
Datasheet:
![as29lv016jbrgr-70/xt](/images/no-image3.png)
Part Number:
Description:
16 Megabit 2m X 8-bit / 1m X 16-bit Cmos 3.0 Volt-only Boot Sector Flash Memory
Manufacturer:
Austin Semiconductor, Inc.
Datasheet:
![as29lv016brg-90/xt](/images/no-image3.png)
Part Number:
Description:
16 Megabit 2m X 8-bit / 1m X 16-bit Cmos 3.0 Volt-only Boot Sector Flash Memory
Manufacturer:
Austin Semiconductor, Inc.
Datasheet:
![hm51w16165tt-7](/images/no-image3.png)
Part Number:
Description:
16 M Edo Dram 1-mword ? 16-bit
Manufacturer:
Elpida Memory, Inc.
Datasheet:
![hm5118165tt-7](/images/no-image3.png)
Part Number:
Description:
16 M Edo Dram 1-mword ? 16-bit
Manufacturer:
Elpida Memory, Inc.
Datasheet:
![hm5216165](/images/no-image3.png)
Part Number:
Description:
16 M Lvttl Interface Sdram 512-kword ? 16-bit ? 2-bank
Manufacturer:
Elpida Memory, Inc.
Datasheet:
![hm5216165tt-10h](/images/no-image3.png)
Part Number:
Description:
16 M Lvttl Interface Sdram 512-kword ? 16-bit ? 2-bank 100 Mhz/83 Mhz
Manufacturer:
ETC-unknow
Datasheet:
![MA300015](/photos/8/96/89623/ma300015_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN DSPIC30F 80QFP
Manufacturer:
Microchip Technology
Datasheet:
![MA180021](/photos/8/96/89639/ma180021_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN 18F87J50 FS USB
Manufacturer:
Microchip Technology
Datasheet:
![AC164131](/photos/8/96/89652/ac164131__tmb.jpg)
Part Number:
Description:
BOARD DAUGHTER USB PICTAIL PLUS
Manufacturer:
Microchip Technology
Datasheet: