DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C57C-RC/JW View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C57C-RC/JW
Microchip
Microchip Technology 
PIC16C57C-RC/JW Datasheet PDF : 192 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PIC16C5X
IORLW
Inclusive OR literal with W
Syntax:
[ label ] IORLW k
Operands:
0 k 255
Operation:
(W) .OR. (k) (W)
Status Affected: Z
Encoding:
Description:
1101 kkkk kkkk
The contents of the W register are
OR’ed with the eight bit literal 'k'.
The result is placed in the W regis-
ter.
Words:
Cycles:
Example:
1
1
IORLW 0x35
Before Instruction
W = 0x9A
After Instruction
W = 0xBF
Z =0
IORWF
Inclusive OR W with f
Syntax:
Operands:
Operation:
[ label ] IORWF f,d
0 f 31
d [0,1]
(W).OR. (f) (dest)
Status Affected: Z
Encoding:
0001 00df ffff
Description:
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'.
Words:
Cycles:
Example:
1
1
IORWF
RESULT, 0
Before Instruction
RESULT =
W
=
After Instruction
RESULT =
W
=
Z
=
0x13
0x91
0x13
0x93
0
MOVF
Move f
Syntax:
Operands:
Operation:
[ label ] MOVF f,d
0 f 31
d [0,1]
(f) (dest)
Status Affected: Z
Encoding:
0010 00df ffff
Description:
The contents of register 'f' is
moved to destination 'd'. If 'd' is 0,
destination is the W register. If 'd'
is 1, the destination is file
register 'f'. 'd' is 1 is useful to test a
file register since status flag Z is
affected.
Words:
1
Cycles:
1
Example:
MOVF FSR, 0
After Instruction
W = value in FSR register
MOVLW
Move Literal to W
Syntax:
[ label ] MOVLW k
Operands:
0 k 255
Operation:
k (W)
Status Affected: None
Encoding:
Description:
1100 kkkk kkkk
The eight bit literal 'k' is loaded into
the W register.
Words:
Cycles:
Example:
1
1
MOVLW 0x5A
After Instruction
W = 0x5A
DS30453E-page 56
Preliminary
1997-2013 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]