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

PIC16LC925T-I/CL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC925T-I/CL
Microchip
Microchip Technology 
PIC16LC925T-I/CL Datasheet PDF : 182 Pages
First Prev 111 112 113 114 115 116 117 118 119 120 Next Last
PIC16C925/926
ANDLW
AND Literal with W
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
[ label ] ANDLW k
0 k 255
(W) .AND. (k) (W)
Z
11 1001 kkkk kkkk
The contents of W register are
ANDed with the eight-bit literal 'k'.
The result is placed in the W
register.
Words:
Cycles:
Q Cycle Activity:
1
1
Q1
Q2
Q3
Q4
Decode
Read Process
literal kdata
Write to
W
Example
ANDLW
Before Instruction:
W = 0xA3
After Instruction:
W = 0x03
0x5F
ANDWF
AND W with f
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
[ label ] ANDWF f [,d]
0 f 127
d ∈ [0,1]
(W).AND. (f) (destination)
Z
00 0101 dfff ffff
AND the W register with register f.
If dis 0, the result is stored in the
W register. If dis 1, the result is
stored back in register f.
1
1
Q1 Q2 Q3
Q4
Decode
Read
register
'f'
Process Write to
data destination
Example
ANDWF
FSR, 1
Before Instruction:
W
=
FSR =
After Instruction
W
=
FSR =
0x17
0xC2
0x17
0x02
DS39544A-page 116
Preliminary
2001 Microchip Technology Inc.

Share Link: 

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