PIC16LC662-04/PT Microchip Technology, PIC16LC662-04/PT Datasheet - Page 28
PIC16LC662-04/PT
Manufacturer Part Number
PIC16LC662-04/PT
Description
IC MCU OTP 4KX14 COMP 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C642-04SO.pdf
(137 pages)
Specifications of PIC16LC662-04/PT
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LC662-04/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 28 of 137
- Download datasheet (633Kb)
PIC16C64X & PIC16C66X
4.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 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-12. However, bit IRP is not used in
the PIC16C64X & PIC16C66X.
FIGURE 4-12: DIRECT/INDIRECT ADDRESSING
DS30559A-page 28
(1)
bank select
RP1 RP0
For memory map detail see Figure 4-3 and Figure 4-4.
Note 1: Bits RP1 and IRP are reserved, always maintain these bits clear.
Indirect Addressing, INDF, and FSR
Registers
location select
6
Direct Addressing
Data
Memory
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 4-1.
EXAMPLE 4-1:
NEXT
CONTINUE:
Bank 3
11
IRP
movlw 0x20
movwf FSR
clrf
incf
btfss FSR,4 ;all done?
goto
bank select
00h
7Fh
(1)
INDF
FSR
NEXT
INDIRECT ADDRESSING
7
Indirect Addressing
1996 Microchip Technology Inc.
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;no goto next
;yes continue
FSR register
location select
0
Related parts for PIC16LC662-04/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU OTP 4KX14 COMP 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: