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
13.1 Instruction Descriptions
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Add Literal and W
[ label ] ADDLW k
0 k 255
(W) + k (W)
C, DC, Z
11 111x kkkk kkkk
The contents of the W register are
added to the eight-bit literal kand
the result is placed in the W
register.
1
1
Q1
Q2
Q3
Q4
Decode Read Process Write to
literal kdata
W
Example:
ADDLW
Before Instruction:
W = 0x10
After Instruction:
W = 0x25
0x15
PIC16C925/926
ADDWF
Add W and f
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
[ label ] ADDWF f [,d]
0 f 127
d ∈ [0,1]
(W) + (f) (destination)
C, DC, Z
00
0111 dfff ffff
Add the contents of 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 Process Write to
register fdata destination
Example
ADDWF FSR, 0
Before Instruction:
W
= 0x17
FSR = 0xC2
After Instruction:
W
= 0xD9
FSR = 0xC2
2001 Microchip Technology Inc.
Preliminary
DS39544A-page 115

Share Link: 

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