欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F505-I/SL 参数 Datasheet PDF下载

PIC16F505-I/SL图片预览
型号: PIC16F505-I/SL
PDF下载: 下载PDF文件 查看货源
内容描述: 8月14日引脚, 8位闪存微控制器 [8/14-Pin, 8-Bit Flash Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 100 页 / 1278 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC16F505-I/SL的Datasheet PDF文件第7页浏览型号PIC16F505-I/SL的Datasheet PDF文件第8页浏览型号PIC16F505-I/SL的Datasheet PDF文件第9页浏览型号PIC16F505-I/SL的Datasheet PDF文件第10页浏览型号PIC16F505-I/SL的Datasheet PDF文件第12页浏览型号PIC16F505-I/SL的Datasheet PDF文件第13页浏览型号PIC16F505-I/SL的Datasheet PDF文件第14页浏览型号PIC16F505-I/SL的Datasheet PDF文件第15页  
PIC12F508/509/16F505
3.0
ARCHITECTURAL OVERVIEW
The high performance of the PIC12F508/509/16F505
devices can be attributed to a number of architectural
features commonly found in RISC microprocessors.
To begin with, the PIC12F508/509/16F505 devices
use a Harvard architecture in which program and data
are accessed on separate buses. This improves
bandwidth over traditional von Neumann architec-
tures where program and data are fetched on the
same bus. Separating program and data memory fur-
ther allows instructions to be sized differently than the
8-bit wide data word. Instruction opcodes are 12 bits
wide, making it possible to have all single-word
instructions. A 12-bit wide program memory access
bus fetches a 12-bit instruction in a single cycle. A
two-stage pipeline overlaps fetch and execution of
instructions. Consequently, all instructions (33)
execute in a single cycle (200 ns @ 20 MHz, 1
μs
@
4 MHz) except for program branches.
memory (RAM) for the PIC12F508/509/16F505
devices.
The PIC12F508/509/16F505 devices contain an 8-bit
ALU and working register. The ALU is a general
purpose arithmetic unit. It performs arithmetic and
Boolean functions between data in the working register
and any register file.
The ALU is 8 bits wide and capable of addition, subtrac-
tion, shift and logical operations. Unless otherwise
mentioned, arithmetic operations are two’s comple-
ment in nature. In two-operand instructions, one
operand is typically the W (working) register. The other
operand is either a file register or an immediate
constant. In single operand instructions, the operand is
either the W register or a file register.
The W register is an 8-bit working register used for ALU
operations. It is not an addressable register.
Depending on the instruction executed, the ALU may
affect the values of the Carry (C), Digit Carry (DC) and
Zero (Z) bits in the STATUS register. The C and DC bits
operate as a borrow and digit borrow out bit, respec-
tively, in subtraction. See the
SUBWF
and
ADDWF
instructions for examples.
A simplified block diagram is shown in Figure 3-2, with
the corresponding device pins described in Table 3-3.
TABLE 3-1:
PIC12F508/509/16F505
MEMORY
Memory
Device
Program
PIC12F508
PIC12F509
PIC16F505
512 x 12
1024 x 12
1024 x 12
Data
25 x 8
41 x 8
72 x 8
The PIC12F508/509/16F505 devices can directly or
indirectly address its register files and data memory. All
Special Function Registers (SFR), including the PC,
are mapped in the data memory. The PIC12F508/509/
16F505 devices have a highly orthogonal (symmetri-
cal) instruction set that makes it possible to carry out
any operation, on any register, using any addressing
mode. This symmetrical nature and lack of “special
optimal situations” make programming with the
PIC12F508/509/16F505 devices simple, yet efficient.
In addition, the learning curve is reduced significantly.
©
2007 Microchip Technology Inc.
Preliminary
DS41236C-page 9