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

PIC18F4320-I/P 参数 Datasheet PDF下载

PIC18F4320-I/P图片预览
型号: PIC18F4320-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能,增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 388 页 / 6899 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4320-I/P的Datasheet PDF文件第73页浏览型号PIC18F4320-I/P的Datasheet PDF文件第74页浏览型号PIC18F4320-I/P的Datasheet PDF文件第75页浏览型号PIC18F4320-I/P的Datasheet PDF文件第76页浏览型号PIC18F4320-I/P的Datasheet PDF文件第78页浏览型号PIC18F4320-I/P的Datasheet PDF文件第79页浏览型号PIC18F4320-I/P的Datasheet PDF文件第80页浏览型号PIC18F4320-I/P的Datasheet PDF文件第81页  
PIC18F2220/2320/4220/4320  
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 6-4  
6.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.  
shows the interface between the internal program  
memory and the TABLAT.  
TBLPTR points to a byte address in program space.  
Executing a TBLRDinstruction places the byte pointed  
to into TABLAT. In addition, TBLPTR can be modified  
automatically for the next table read operation.  
FIGURE 6-4:  
READS FROM FLASH PROGRAM MEMORY  
Program Memory  
Odd (High) Byte  
Even (Low) Byte  
TBLPTR  
TBLPTR  
LSB = 0  
LSB = 1  
Instruction Register  
(IR)  
TABLAT  
Read Register  
EXAMPLE 6-1:  
READING A FLASH PROGRAM MEMORY WORD  
MOVLW  
MOVWF  
MOVLW  
MOVWF  
MOVLW  
MOVWF  
CODE_ADDR_UPPER  
TBLPTRU  
CODE_ADDR_HIGH  
TBLPTRH  
CODE_ADDR_LOW  
TBLPTRL  
; Load TBLPTR with the base  
; address of the word  
READ_WORD  
TBLRD*+  
MOVFW  
; read into TABLAT and increment TBLPTR  
; get data  
TABLAT  
MOVWF  
WORD_EVEN  
TBLRD*+  
MOVFW  
; read into TABLAT and increment TBLPTR  
; get data  
TABLAT  
MOVWF  
WORD_ODD  
2003 Microchip Technology Inc.  
DS39599C-page 75