Datasheet

PIC18F1230/1330
2009 Microchip Technology Inc. DS39758D-page 209
FIGURE 20-7: EXTERNAL BLOCK TABLE READ (EBTRx) DISALLOWED
FIGURE 20-8: EXTERNAL BLOCK TABLE READ (EBTRx) ALLOWED
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
WRT1, EBTR1 = 11
TBLRD*
TBLPTR = 0008FFh
PC = 001100h
Results: All table reads from external blocks to Blockn are disabled whenever EBTRx = 0.
TABLAT register returns a value of ‘0’.
Register Values Program Memory Configuration Bit Settings
000000h
0007FFh
000800h
000FFFh
001000h
001FFFh
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
WRT1, EBTR1 = 11
TBLRD*
TBLPTR = 0008FFh
PC = 000FFEh
Register Values Program Memory Configuration Bit Settings
Results: Table reads permitted within Blockn, even when EBTRBx = 0.
TABLAT register returns the value of the data at the location TBLPTR.
000000h
0007FFh
000800h
000FFFh
001000h
001FFFh