PIC16CE625-04/SS Microchip Technology, PIC16CE625-04/SS Datasheet - Page 21

IC MCU OTP 2KX14 EE COMP 20SSOP

PIC16CE625-04/SS

Manufacturer Part Number
PIC16CE625-04/SS
Description
IC MCU OTP 2KX14 EE COMP 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16CE625-04/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
20-SSOP
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
4.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 reg-
ister. 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 (STATUS<7>), as
shown in Figure 4-7. However, IRP is not used in the
PIC16CE62X.
FIGURE 4-7:
RP1
1999 Microchip Technology Inc.
bank select
For memory map detail see Figure 4-4 and Figure 4-5.
Note 1: The RP1 and IRP bits are reserved; always maintain these bits clear.
RP0
Indirect Addressing, INDF and FSR
Registers
(1)
location select
6
Direct Addressing
DIRECT/INDIRECT ADDRESSING PIC16CE62X
Data
Memory
from opcode
7Fh
00h
Bank 0
00
0
Bank 1
01
Bank 2
10
not used
A simple program to clear RAM location 20h-2Fh using
indirect addressing is shown in Example 4-1.
EXAMPLE 4-1:
NEXT
CONTINUE:
Bank 3
11
IRP
movlw
movwf
clrf
incf
btfss
goto
bank select
180h
1FFh
(1)
INDIRECT ADDRESSING
0x20
FSR
INDF
FSR
FSR,4
NEXT
7
PIC16CE62X
Indirect Addressing
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;all done?
;no clear next
;yes continue
FSR Register
DS40182C-page 21
location select
0

Related parts for PIC16CE625-04/SS