PIC16F726-I/SP Microchip Technology Inc., PIC16F726-I/SP Datasheet - Page 31

no-image

PIC16F726-I/SP

Manufacturer Part Number
PIC16F726-I/SP
Description
28 PIN, 14 KB FLASH, 1.8V-5.5V, 16 MHZ INT. OSC.
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F726-I/SP

A/d Inputs
11-Channel, 8-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Frequency
20 MHz
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Resistance, Drain To Source On
Bytes
Serial Interface
I2C, SPI, AUSART
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
2.5
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 register and the IRP bit of
the STATUS register, as shown in Figure 2-8.
A simple program to clear RAM location 020h-02Fh
using indirect addressing is shown in Example 2-2.
FIGURE 2-8:
© 2008 Microchip Technology Inc.
Bank Select
RP1
Note:
Indirect Addressing, INDF and
FSR Registers
RP0
Direct Addressing
6
For memory map detail, refer to Figures 2-4 and 2-5.
Data
Memory
Location Select
DIRECT/INDIRECT ADDRESSING
From Opcode
7Fh
00h
Bank 0
00
0
Bank 1
01
Preliminary
PIC16F72X/PIC16LF72X
Bank 2
10
EXAMPLE 2-2:
NEXT CLRF
CONTINUE
Bank 3
11
MOVLW
MOVWF
BANKISEL
INCF
BTFSS
GOTO
IRP
Bank Select
180h
1FFh
020h
020h
FSR
INDF
FSR
FSR,4 ;all done?
NEXT
7
Indirect Addressing
INDIRECT ADDRESSING
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;no clear next
;yes continue
File Select Register
DS41341B-page 29
Location Select
0

Related parts for PIC16F726-I/SP