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

PIC18F4580-I/PT 参数 Datasheet PDF下载

PIC18F4580-I/PT图片预览
型号: PIC18F4580-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器与ECAN技术, 10位A / D和纳瓦技术 [28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 490 页 / 8912 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4580-I/PT的Datasheet PDF文件第101页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第102页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第103页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第104页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第106页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第107页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第108页浏览型号PIC18F4580-I/PT的Datasheet PDF文件第109页  
PIC18F2480/2580/4480/4580  
TBLPTR points to a byte address in program space.  
Executing TBLRD places the byte pointed to into  
TABLAT. In addition, TBLPTR can be modified  
7.3  
Reading the Flash Program  
Memory  
The TBLRD instruction is used to retrieve data from  
program memory and place it into data RAM. Table  
reads from program memory are performed one byte at  
a time.  
automatically for the next table read operation.  
The internal program memory is typically organized by  
words. The Least Significant bit of the address selects  
between the high and low bytes of the word. Figure 7-4  
shows the interface between the internal program  
memory and the TABLAT.  
FIGURE 7-4:  
READS FROM FLASH PROGRAM MEMORY  
Program Memory  
(Even Byte Address)  
(Odd Byte Address)  
TBLPTR = xxxxx1  
TBLPTR = xxxxx0  
Instruction Register  
TABLAT  
Read Register  
FETCH  
TBLRD  
(IR)  
EXAMPLE 7-1:  
READING A FLASH PROGRAM MEMORY WORD  
MOVLW  
CODE_ADDR_UPPER  
TBLPTRU  
CODE_ADDR_HIGH  
TBLPTRH  
CODE_ADDR_LOW  
TBLPTRL  
; Load TBLPTR with the base  
; address of the word  
MOVWF  
MOVLW  
MOVWF  
MOVLW  
MOVWF  
READ_WORD  
TBLRD*+  
MOVF  
MOVWF  
TBLRD*+  
MOVF  
; read into TABLAT and increment  
; get data  
TABLAT, W  
WORD_EVEN  
; read into TABLAT and increment  
; get data  
TABLAT, W  
WORD_ODD  
MOVF  
© 2009 Microchip Technology Inc.  
DS39637D-page 105  
 复制成功!