PIC16C926 Microchip Technology Inc., PIC16C926 Datasheet - Page 125

no-image

PIC16C926

Manufacturer Part Number
PIC16C926
Description
64/68-pin Cmos Microcontrollers With Lcd Driver
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926/CL
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C926T-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
2001 Microchip Technology Inc.
If Skip: (2nd Cycle)
Before Instruction:
After Instruction:
PC
CNT
if CNT
PC
if CNT
PC
=
=
=
=
=
Increment f, Skip if 0
[ label ]
0
d
(f) + 1
None
The contents of register ’f’ are incre-
mented. 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 instruction is
executed. If the result is 0, a NOP is
executed instead, making it a 2T
instruction.
1
1(2)
HERE
CONTINUE •
skip if result = 0
Operation
Decode
Q1
Q1
address HERE
CNT + 1
0,
address CONTINUE
0,
address HERE +1
00
f
No
[0,1]
127
(destination),
INCFSZ f [,d]
register ’f’
Operation
INCFSZ CNT,
GOTO
1111
Read
Q2
Q2
No
LOOP
Operation
Process
dfff
data
Q3
Q3
No
1
destination
Operation
Write to
ffff
Preliminary
Q4
Q4
No
CY
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Before Instruction:
After Instruction:
W
W
Z
=
=
=
PIC16C925/926
0x9A
0xBF
0
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register is
OR’ed with the eight-bit literal 'k'.
The result is placed in the W
register.
1
1
IORLW
Decode
Q1
11
k
255
0x35
IORLW k
literal ’k’
1000
Read
Q2
(W)
DS39544A-page 123
Process
kkkk
data
Q3
Write to
kkkk
Q4
W

Related parts for PIC16C926