PIC14000-04 Microchip Technology, PIC14000-04 Datasheet - Page 98
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC14000-04
Manufacturer Part Number
PIC14000-04
Description
28-Pin Programmable Mixed Signal Controller
Manufacturer
Microchip Technology
Datasheet
1.PIC14000-04.pdf
(152 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC14000-04/SO
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC14000-04/SO
Manufacturer:
Maxim
Quantity:
103
Company:
Part Number:
PIC14000-04/SP
Manufacturer:
Microchip
Quantity:
482
Part Number:
PIC14000-04/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC14000-04/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC14000-04/SS
Manufacturer:
MICROCHI
Quantity:
20 000
PIC14000
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS40122B-page 98
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with regis-
ter '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 dependant upon the sta-
tus of d. If d = 0, destination is W reg-
ister. 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)
1996 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