PIC16C432-E/P Microchip Technology, PIC16C432-E/P Datasheet - Page 18

IC MCU CMOS 8-BIT 20MHZ 2K 20DIP

PIC16C432-E/P

Manufacturer Part Number
PIC16C432-E/P
Description
IC MCU CMOS 8-BIT 20MHZ 2K 20DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOPDVA16XP201 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
PIC16C432
3.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 3-4. However, IRP is not used in the
PIC16C432.
FIGURE 3-4:
DS41140B-page 16
RP1
bank select
For memory map detail see Figure 3-2 and Figure 3-2.
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
Data
Memory
DIRECT/INDIRECT ADDRESSING PIC16C432
from opcode
7Fh
00h
Bank 0
00
0
Bank 1
01
Preliminary
Bank 2
10
not used
A simple program to clear RAM location 20h-2Fh using
indirect addressing is shown in Example 3-1.
EXAMPLE 3-1:
NEXT
CONTINUE:
Bank 3
11
IRP
movlw
movwf
clrf
incf
btfss
goto
bank select
180h
1FFh
(1)
0x20
FSR
INDF
FSR
FSR,4
NEXT
7
Indirect Addressing
INDIRECT ADDRESSING
2002 Microchip Technology Inc.
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;all done?
;no clear next
;yes continue
FSR Register
location select
0

Related parts for PIC16C432-E/P