PIC16F785-I/SO Microchip Technology, PIC16F785-I/SO Datasheet - Page 24

IC PIC MCU FLASH 2KX14 20SOIC

PIC16F785-I/SO

Manufacturer Part Number
PIC16F785-I/SO
Description
IC PIC MCU FLASH 2KX14 20SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-I/SO

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
20-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
RS- 232/USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
17
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SO1-1 - SOCKET TRANS ICE 20DIP TO 20SOICXLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILAC162060 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOIC
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F785-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F785
2.4
The INDF register is not a physical register. Addressing
the INDF register will cause indirect addressing.
Indirect addressing is possible by using the INDF
register. Any instruction using the INDF register
actually accesses data pointed to by the File Select
Register (FSR). Reading INDF itself indirectly will
produce 00h. Writing to the INDF register indirectly
results in a no operation (although Status bits may be
affected). An effective 9-bit address is obtained by
concatenating the 8-bit FSR and the IRP bit
(Status<7>), as shown in Figure 2-4.
FIGURE 2-4:
DS41249A-page 22
BANK SELECT
RP1 RP0
For memory map detail see Figure 2-2.
Indirect Addressing, INDF and
FSR Registers
DIRECT ADDRESSING
6
DATA
MEMORY
LOCATION SELECT
DIRECT/INDIRECT ADDRESSING PIC16F785
FROM OPCODE
7FH
00H
BANK 0
00
0
BANK 1
01
Preliminary
BANK 2
10
A simple program to clear RAM location 20h – 2Fh
using indirect addressing is shown in Example 2-1.
EXAMPLE 2-1:
NEXT
CONTINUE
BANK 3
11
MOVLW
MOVWF
CLRF
INCF
BTFSS
GOTO
IRP
BANK SELECT
180H
1FFH
0x20
FSR
INDF
FSR
FSR,4
NEXT
7
INDIRECT ADDRESSING
INDIRECT ADDRESSING
 2004 Microchip Technology Inc.
FILE SELECT REGISTER
;initialize pointer
;to RAM
;clear INDF register
;increment pointer
;all done?
;no clear next
;yes continue
LOCATION SELECT
0

Related parts for PIC16F785-I/SO