参数资料
型号: PIC16F676-E/SL
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14
封装: 3.90 MM, LEAD FREE, PLASTIC, SOIC-14
文件页数: 46/132页
文件大小: 1344K
代理商: PIC16F676-E/SL
PIC16F630/676
DS40039F-page 20
2010 Microchip Technology Inc.
2.4
Indirect Addressing, INDF and
FSR Registers
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
(STATUS<7>), as shown in Figure 2-4.
A simple program to clear RAM location 20h-2Fh using
indirect addressing is shown in Example 2-1.
EXAMPLE 2-1:
INDIRECT ADDRESSING
FIGURE 2-4:
DIRECT/INDIRECT ADDRESSING PIC16F630/676
MOVLW
0x20
;initialize pointer
MOVWF
FSR
;to RAM
NEXT
CLRF
INDF
;clear INDF register
INCF
FSR
;inc pointer
BTFSS
FSR,4 ;all done?
GOTO
NEXT
;no clear next
CONTINUE
;yes continue
For memory map detail see Figure 2-2.
Note 1: The RP1 and IRP bits are reserved; always maintain these bits clear.
Data
Memory
Indirect Addressing
Direct Addressing
Bank Select Location Select
RP1(1) RP0
6
0
From Opcode
IRP(1)
FSR Register
7
0
Bank Select
Location Select
00
01
10
11
180h
1FFh
00h
7Fh
Bank 0
Bank 1
Bank 2
Bank 3
Not Used
相关PDF资料
PDF描述
PIC16LC433E/P 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP18
PIC16LC556-04/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO20
PIC16LC662T-04/L 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PQCC44
PIC16C662T-20I/P 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PDIP40
PIC16C662T-20I/L 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PQCC44
相关代理商/技术参数
参数描述
PIC16F676-I/ML 功能描述:8位微控制器 -MCU 1.75 KB 64 RAM 12I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F676-I/P 功能描述:8位微控制器 -MCU 1.75KB 64 RAM 12 I/O Ind Temp PDIP14 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F676-I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 16F676 DIP14
PIC16F676-I/SL 功能描述:8位微控制器 -MCU 1.75KB 64 RAM 12 I/O Ind Temp SOIC14 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F676-I/SL 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F676 SOIC14