Electronic Components Datasheet Search
  English  ▼

X  

PIC16LF1824 Datasheet(PDF) 335 Page - Microchip Technology

Part # PIC16LF1824
Description  18/20/28-Pin Flash Microcontrollers with XLP Technology
PDF  440 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16LF1824 Datasheet(HTML) 335 Page - Microchip Technology

Back Button PIC16LF1824 Datasheet HTML 331Page - Microchip Technology PIC16LF1824 Datasheet HTML 332Page - Microchip Technology PIC16LF1824 Datasheet HTML 333Page - Microchip Technology PIC16LF1824 Datasheet HTML 334Page - Microchip Technology PIC16LF1824 Datasheet HTML 335Page - Microchip Technology PIC16LF1824 Datasheet HTML 336Page - Microchip Technology PIC16LF1824 Datasheet HTML 337Page - Microchip Technology PIC16LF1824 Datasheet HTML 338Page - Microchip Technology PIC16LF1824 Datasheet HTML 339Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 335 / 440 page
background image
 2011-2013 Microchip Technology Inc.
Preliminary
DS40001453D-page 335
PIC16(L)F1847
29.2
Instruction Descriptions
ADDFSR
Add Literal to FSRn
Syntax:
[ label ] ADDFSR FSRn, k
Operands:
-32
 k  31
n
 [ 0, 1]
Operation:
FSR(n) + k
 FSR(n)
Status Affected:
None
Description:
The signed 6-bit literal ‘k’ is added to
the contents of the FSRnH:FSRnL
register pair.
FSRn is limited to the range 0000h -
FFFFh. Moving beyond these bounds
will cause the FSR to wrap-around.
ADDLW
Add literal and W
Syntax:
[ label ] ADDLW
k
Operands:
0
 k  255
Operation:
(W) + k
 (W)
Status Affected:
C, DC, Z
Description:
The contents of the W register are
added to the 8-bit literal ‘k’ and the
result is placed in the W register.
ADDWF
Add W and f
Syntax:
[ label ] ADDWF
f,d
Operands:
0
 f  127
d
0,1
Operation:
(W) + (f)
 (destination)
Status Affected:
C, DC, Z
Description:
Add the contents of the W register
with register ‘f’. If ‘d’ is ‘0’, the result is
stored in the W register. If ‘d’ is ‘1’, the
result is stored back in register ‘f’.
ADDWFC
ADD W and CARRY bit to f
Syntax:
[ label ] ADDWFC
f {,d}
Operands:
0
 f  127
d
[0,1]
Operation:
(W) + (f) + (C)
 dest
Status Affected:
C, DC, Z
Description:
Add W, the Carry flag and data mem-
ory location ‘f’. If ‘d’ is ‘0’, the result is
placed in W. If ‘d’ is ‘1’, the result is
placed in data memory location ‘f’.
ANDLW
AND literal with W
Syntax:
[ label ] ANDLW
k
Operands:
0
 k  255
Operation:
(W) .AND. (k)
 (W)
Status Affected:
Z
Description:
The contents of W register are
AND’ed with the 8-bit literal ‘k’. The
result is placed in the W register.
ANDWF
AND W with f
Syntax:
[ label ] ANDWF
f,d
Operands:
0
 f  127
d
0,1
Operation:
(W) .AND. (f)
 (destination)
Status Affected:
Z
Description:
AND the W register with register ‘f’. If
‘d’ is ‘0’, the result is stored in the W
register. If ‘d’ is ‘1’, the result is stored
back in register ‘f’.
ASRF
Arithmetic Right Shift
Syntax:
[ label ] ASRF f {,d}
Operands:
0
 f  127
d
[0,1]
Operation:
(f<7>)
 dest<7>
(f<7:1>)
 dest<6:0>,
(f<0>)
 C,
Status Affected:
C, Z
Description:
The contents of register ‘f’ are shifted
one bit to the right through the Carry
flag. The MSb remains unchanged. If
‘d’ is ‘0’, the result is placed in W. If ‘d’
is ‘1’, the result is stored back in reg-
ister ‘f’.
register f
C



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com