PIC18F2510-E/P MICROCHIP [Microchip Technology], PIC18F2510-E/P Datasheet - Page 77

no-image

PIC18F2510-E/P

Manufacturer Part Number
PIC18F2510-E/P
Description
28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
EXAMPLE 6-1:
TABLE 6-2:
© 2009 Microchip Technology Inc.
TBLPTRU
TBPLTRH
TBLPTRL
TABLAT
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used during Flash access.
READ_WORD
Name
Program Memory Table Pointer High Byte (TBLPTR<15:8>)
Program Memory Table Pointer Low Byte (TBLPTR<7:0>)
Program Memory Table Latch
MOVLW
MOVWF
MOVLW
MOVWF
MOVLW
MOVWF
TBLRD*+
MOVF
MOVWF
TBLRD*+
MOVF
MOVF
Bit 7
REGISTERS ASSOCIATED WITH READING PROGRAM FLASH MEMORY
READING A FLASH PROGRAM MEMORY WORD
CODE_ADDR_UPPER
TBLPTRU
CODE_ADDR_HIGH
TBLPTRH
CODE_ADDR_LOW
TBLPTRL
TABLAT, W
WORD_EVEN
TABLAT, W
WORD_ODD
Bit 6
bit 21
Bit 5
Program Memory Table Pointer Upper Byte
(TBLPTR<20:16>)
Bit 4
; Load TBLPTR with the base
; address of the word
; read into TABLAT and increment
; get data
; read into TABLAT and increment
; get data
Bit 3
PIC18F2X1X/4X1X
Bit 2
Bit 1
Bit 0
DS39636D-page 79
Values on
Reset
Page
51
51
51
51

Related parts for PIC18F2510-E/P