PIC12F519-E/SN Microchip Technology, PIC12F519-E/SN Datasheet - Page 22

no-image

PIC12F519-E/SN

Manufacturer Part Number
PIC12F519-E/SN
Description
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator 8 SOIC 3.90mm (.15
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12F519-E/SN

Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
Ram Size
41 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-SOIC (3.9mm Width)
Core
PIC
Processor Series
PIC12F
Data Bus Width
8 bit
Maximum Clock Frequency
8 MHz
Data Ram Size
41 B
Number Of Programmable I/os
6
Number Of Timers
1
Mounting Style
SMD/SMT
Height
1.25 mm
Interface Type
USB
Length
4.9 mm
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
3.9 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
PIC12F519
4.8
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’.
FIGURE 4-4:
DS41319B-page 20
Indirect Data Addressing: INDF
and FSR Registers
Bank Select
(FSR)
5
Direct Addressing
DIRECT/INDIRECT ADDRESSING
Location Select
Data
Memory
4
(opcode)
00h
0Fh
10h
0
1Fh
Bank 0
0
3Fh
Bank 1
1
EXAMPLE 4-1:
NEXT
CONTINUE
MOVLW
MOVWF
CLRF
INCF
BTFSC
GOTO
:
:
Indirect Addressing
0x10
FSR
INDF
FSR,F
FSR,4
NEXT
Bank
5
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
© 2008 Microchip Technology Inc.
4
;initialize pointer
;to RAM
;clear INDF
;register
;inc pointer
;all done?
;NO, clear next
;YES, continue
Location Select
(FSR)
0

Related parts for PIC12F519-E/SN