参数资料
型号: PIC12C508A-04E/SN
厂商: Microchip Technology
文件页数: 27/113页
文件大小: 0K
描述: IC MCU OTP 512X12 8SOIC
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 100
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 768B(512 x 12)
程序存储器类型: OTP
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 125°C
封装/外壳: 8-SOIC(0.154",3.90mm 宽)
包装: 管件
配用: 309-1046-ND - ADAPTER 8-SOIC TO 8-DIP
309-1045-ND - ADAPTER 8-SOIC TO 8-DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
PIC12C5XX
DS40139E-page 20
1999 Microchip Technology Inc.
4.8
Indirect Data Addressing; INDF and
FSR Registers
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 4-1:
INDIRECT ADDRESSING
Register file 07 contains the value 10h
Register file 08 contains the value 0Ah
Load the value 07 into the FSR register
A read of the INDF register will return the value
of 10h
Increment the value of the FSR register by one
(FSR = 08)
A read of the INDR register now will return the
value of 0Ah.
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 10h-1Fh
using indirect addressing is shown in Example 4-2.
EXAMPLE 4-2:
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
movlw
0x10
;initialize pointer
movwf
FSR
; to RAM
NEXT
clrf
INDF
;clear INDF register
incf
FSR,F
;inc pointer
btfsc
FSR,4
;all done?
goto
NEXT
;NO, clear next
CONTINUE
:
;YES, continue
The FSR is a 5-bit wide register. It is used in
conjunction with the INDF register to indirectly address
the data memory area.
The FSR<4:0> bits are used to select data memory
addresses 00h to 1Fh.
PIC12C508/PIC12C508A/PIC12CE518:
Does not
use banking. FSR<7:5> are unimplemented and read
as '1's.
PIC12C509/PIC12C509A/PIC12CR509A/
PIC12CE519: Uses FSR<5>. Selects between bank 0
and bank 1. FSR<7:6> is unimplemented, read as '1’ .
FIGURE 4-9:
DIRECT/INDIRECT ADDRESSING
Note 1: For register map detail see Section 4.2.
Note 2: PIC12C509, PIC12C509A, PIC12CR509A, PIC12CE519.
bank
location select
bank select
Indirect Addressing
Direct Addressing
Data
Memory(1)
0Fh
10h
Bank 0
Bank 1(2)
0
4
5
6
(FSR)
00
01
00h
1Fh
3Fh
(opcode)
0
4
5
6
(FSR)
Addresses
map back to
addresses
in Bank 0.
相关PDF资料
PDF描述
PIC16LF1906-E/SS MCU 14KB FLASH 512B RAM 28SSOP
PIC16F1824-E/ST IC MCU 8BIT 7KB FLASH 14TSSOP
PIC16LF1824-E/ST IC MCU 8BIT 7KB FLASH 14TSSOP
PIC16LF1513-E/SO IC MCU 8BIT 7KB FLASH 28-SOIC
PIC16F1513-E/SO IC MCU 8BIT 7KB FLASH 28-SOIC
相关代理商/技术参数
参数描述
PIC12C508A-04I 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:PIC12C5XX Data Sheet Errata
PIC12C508A-04I/JW 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
PIC12C508A-04I/MF 功能描述:8位微控制器 -MCU .75KB 25 RAM 6 I/O 4 MHz IndTemp DFN8 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
PIC12C508A-04I/P 功能描述:8位微控制器 -MCU .75KB 25 RAM 6 I/O 4 MHz IndTemp PDIP8 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
PIC12C508A-04I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 12C508 DIP8