PIC16C621A Microchip Technology Inc., PIC16C621A Datasheet - Page 70

no-image

PIC16C621A

Manufacturer Part Number
PIC16C621A
Description
Eprom-based 8-bit Cmos Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C621A-04/P
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC16C621A-04/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C621A-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C621A-04E/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC16C621A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C621A-04I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16C621A-04I/SS
Quantity:
1 143
Company:
Part Number:
PIC16C621A-04I/SS
Quantity:
1 163
Part Number:
PIC16C621A-20/SO
Manufacturer:
NICHICON
Quantity:
12 000
Company:
Part Number:
PIC16C621AT-04I/SS
Quantity:
1 143
Company:
Part Number:
PIC16C621AT-04I/SS
Quantity:
1 163
PIC16C62X
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 68
Increment f, Skip if 0
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
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 0, the next instruc-
tion, which is already fetched, is
discarded. A NOP is executed
instead making it a two-cycle
instruction.
1
1(2)
Before Instruction
After Instruction
Inclusive OR Literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. k → (W)
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
Before Instruction
After Instruction
00
HERE
CONTINUE •
11
IORLW
PC
CNT
if CNT=
PC
if CNT≠
PC
W
W
Z
INCFSZ f,d
IORLW k
=
=
=
=
1111
1000
0x35
INCFSZ
GOTO
=
=
=
address HERE
CNT + 1
0,
address CONTINUE
0,
address HERE +1
0x9A
0xBF
1
dfff
kkkk
LOOP
CNT,
ffff
kkkk
1
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Inclusive OR W with f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .OR. (f) → (dest)
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'.
1
1
Before Instruction
After Instruction
Move Literal to W
[ label ]
0 ≤ k ≤ 255
k → (W)
None
The eight bit literal 'k' is loaded
into W register. The don’t cares
will assemble as 0’s
1
1
After Instruction
00
IORWF
11
MOVLW
 2003 Microchip Technology Inc.
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
.
0x13
0x91
0x13
0x93
1
ffff
kkkk

Related parts for PIC16C621A