PIC16C620 Microchip Technology, PIC16C620 Datasheet - Page 68

no-image

PIC16C620

Manufacturer Part Number
PIC16C620
Description
EPROM-Based 8-Bit CMOS Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C620-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620-04I/P
Quantity:
8
Part Number:
PIC16C620/JW
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C620A-04/P
Quantity:
19
Part Number:
PIC16C620A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHI
Quantity:
84
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-041/P
Quantity:
358
Part Number:
PIC16C620A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-04I/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C620A-40/P
Manufacturer:
Microchip Technology
Quantity:
135
PIC16C62X
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235G-page 68
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'.
1
1
Before Instruction
After Instruction
Move Literal to W
[ label ]
0
k
None
The eight bit literal 'k' is loaded into W
register
as 0’s.
1
1
After Instruction
IORWF
MOVLW
00
11
f
k
[0,1]
(W)
.
127
255
The don’t cares will assemble
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
(dest)
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
0x13
0x91
0x13
0x93
1
ffff
kkkk
Preliminary
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move f
[ label ]
0
d
(f)
Z
The contents of register f is moved to
a destination dependent upon the
status of d. If d = 0, destination is W
register. If d = 1, the destination is file
register f itself. d = 1 is useful to test a
file register since status flag Z is
affected.
1
1
After Instruction
Move W to f
[ label ]
0
(W)
None
Move data from W register to register
'f'
1
1
Before Instruction
After Instruction
.
MOVF
MOVWF
00
00
f
f
[0,1]
(dest)
1998 Microchip Technology Inc.
127
127
(f)
W = value in FSR register
Z = 1
OPTION =
W
OPTION =
W
MOVF f,d
MOVWF
1000
0000
FSR, 0
OPTION
=
=
dfff
1fff
f
0xFF
0x4F
0x4F
0x4F
ffff
ffff

Related parts for PIC16C620