PIC16C712-04E/SO Microchip Technology, PIC16C712-04E/SO Datasheet - Page 22
![IC MCU OTP 1KX14 A/D PWM 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16C712-04E/SO
Manufacturer Part Number
PIC16C712-04E/SO
Description
IC MCU OTP 1KX14 A/D PWM 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C712-04E/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
PIC16C712/716
2.5
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.
EXAMPLE 2-1:
• Register file 05 contains the value 10h
• Register file 06 contains the value 0Ah
• Load the value 05 into the FSR register
• A read of the INDF register will return the value of
• Increment the value of the FSR register by one
• A read of the INDR register now will return the
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).
A simple program to clear RAM locations 20h-2Fh
using indirect addressing is shown in Example 2-2.
FIGURE 2-10:
DS41106B-page 20
10h
(FSR = 06)
value of 0Ah.
bank select
RP1:RP0
(2)
Note 1: For register file map detail see Figure 2-3.
Indirect Addressing, INDF and
FSR Registers
2: Maintain clear for upward compatibility with future products.
3: Not implemented.
location select
6
Direct Addressing
Data
Memory(1)
INDIRECT ADDRESSING
DIRECT/INDIRECT ADDRESSING
from opcode
00h
7Fh
Bank 0
00
0
80h
FFh
Bank 1
01
100h
17Fh
Bank 2
10
(3)
EXAMPLE 2-2:
An effective 9-bit address is obtained by concatenating
the 8-bit FSR register and the IRP bit (STATUS<7>), as
shown in Figure 2-10. However, IRP is not used in the
PIC16C712/716.
NEXT
CONTINUE
180h
1FFh
Bank 3
11
(3)
IRP
(2)
bank select
MOVLW
MOVWF
CLRF
INCF
BTFSS
GOTO
:
7
Indirect Addressing
0x20
FSR
INDF
FSR
FSR,4 ;all done?
NEXT
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
© 2005 Microchip Technology Inc.
;initialize pointer
;
;clear INDF register
;inc pointer
;NO, clear next
;YES, continue
FSR register
to RAM
location select
0