Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC12F519-E/MS Datasheet(PDF) 22 Page - Microchip Technology

Part # PIC12F519-E/MS
Description  8-Pin, 8-Bit Flash Microcontrollers
PDF  96 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC12F519-E/MS Datasheet(HTML) 22 Page - Microchip Technology

Back Button PIC12F519-E/MS Datasheet HTML 18Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 19Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 20Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 21Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 22Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 23Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 24Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 25Page - Microchip Technology PIC12F519-E/MS Datasheet HTML 26Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 96 page
background image
PIC12F519
DS41319B-page 20
© 2008 Microchip Technology Inc.
4.8
Indirect Data Addressing: INDF
and FSR Registers
The INDF
register
is not
a physical register.
Addressing INDF actually addresses the register
whose address is contained in the FSR register (
FSR
is a pointer). This is indirect addressing.
Reading INDF itself indirectly (FSR = 0) will produce
00h. Writing to the INDF register indirectly results in a
no-operation (although Status bits may be affected).
The FSR is an 8-bit wide register. It is used in conjunc-
tion with the INDF Register to indirectly address the
data memory area.
The FSR<4:0> bits are used to select data memory
addresses 00h to 1Fh.
FSR<5> is used to select between banks (0 = Bank 0,
1
=Bank 1).
FSR<7:6> are unimplemented and read as ‘11’.
EXAMPLE 4-1:
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
FIGURE 4-4:
DIRECT/INDIRECT ADDRESSING
MOVLW
0x10
;initialize pointer
MOVWF
FSR
;to RAM
NEXT
CLRF
INDF
;clear INDF
;register
INCF
FSR,F
;inc pointer
BTFSC
FSR,4
;all done?
GOTO
NEXT
;NO, clear next
CONTINUE
:
;YES, continue
:
Bank
Location Select
Location Select
Bank Select
Indirect Addressing
Direct Addressing
Data
Memory
0Fh
10h
Bank 0
Bank 1
0
4
5(FSR)
01
00h
1Fh
3Fh
(opcode)
0
4
5
(FSR)



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


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