Electronic Components Datasheet Search
  English  ▼

X  

PIC16 Datasheet(PDF) 317 Page - Microchip Technology

Part # PIC16
Description  20-Pin Flash, 8-Bit Microcontrollers with XLP Technology
PDF  418 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16 Datasheet(HTML) 317 Page - Microchip Technology

Back Button PIC16 Datasheet HTML 313Page - Microchip Technology PIC16 Datasheet HTML 314Page - Microchip Technology PIC16 Datasheet HTML 315Page - Microchip Technology PIC16 Datasheet HTML 316Page - Microchip Technology PIC16 Datasheet HTML 317Page - Microchip Technology PIC16 Datasheet HTML 318Page - Microchip Technology PIC16 Datasheet HTML 319Page - Microchip Technology PIC16 Datasheet HTML 320Page - Microchip Technology PIC16 Datasheet HTML 321Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 317 / 418 page
background image
 2011-2013 Microchip Technology Inc.
DS40001609C-page 317
PIC16(L)F1508/9
LSLF
Logical Left Shift
Syntax:
[ label ] LSLF
f {,d}
Operands:
0
 f  127
d
[0,1]
Operation:
(f<7>)
 C
(f<6:0>)
 dest<7:1>
0
 dest<0>
Status Affected:
C, Z
Description:
The contents of register ‘f’ are shifted
one bit to the left through the Carry flag.
A ‘0’ is shifted into the LSb. If ‘d’ is ‘0’,
the result is placed in W. If ‘d’ is ‘1’, the
result is stored back in register ‘f’.
LSRF
Logical Right Shift
Syntax:
[ label ] LSRF
f {,d}
Operands:
0
 f  127
d
[0,1]
Operation:
0
 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. A ‘0’ is shifted into the MSb. If ‘d’ is
‘0’, the result is placed in W. If ‘d’ is ‘1’,
the result is stored back in register ‘f’.
register f
0
C
register f
C
0
MOVF
Move f
Syntax:
[ label ]
MOVF f,d
Operands:
0
 f  127
d
 [0,1]
Operation:
(f)
 (dest)
Status Affected:
Z
Description:
The contents of register f is moved to
a destination dependent upon the
status of d. If d = 0,
destination is W register. If d = 1, the
destination is file register f itself. d = 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
Z= 1



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