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

PIC16F54T-I/SO View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F54T-I/SO
Microchip
Microchip Technology 
PIC16F54T-I/SO Datasheet PDF : 88 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
PIC16F5X
IORLW
Inclusive OR literal with W
Syntax:
[ label ] IORLW k
Operands:
0 k 255
Operation:
(W) .OR. (k) (W)
Status Affected: Z
Encoding:
1101 kkkk kkkk
Description:
The contents of the W register are
OR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
Words:
1
Cycles:
1
Example:
IORLW 0x35
Before Instruction
W = 0x9A
After Instruction
W = 0xBF
Z =0
IORWF
Inclusive OR W with f
Syntax:
[ label ] IORWF f, d
Operands:
0 f 31
d [0,1]
Operation:
(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:
1
Cycles:
1
Example:
IORWF
RESULT, 0
Before Instruction
RESULT =
W
=
After Instruction
RESULT =
W
=
Z
=
0x13
0x91
0x13
0x93
0
MOVF
Move f
Syntax:
[ label ] MOVF f, d
Operands:
0 f 31
d [0,1]
Operation:
(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:
Words:
Cycles:
1100 kkkk kkkk
The eight-bit literal ‘k’ is loaded
into the W register.
1
1
Example:
MOVLW 0x5A
After Instruction
W = 0x5A
DS41213D-page 48
© 2007 Microchip Technology Inc.

Share Link: 

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