Datasheet

© 2009 Microchip Technology Inc. DS39775C-page 83
PIC18F87J50 FAMILY
TABLE 5-5: REGISTER FILE SUMMARY (PIC18F87J50 FAMILY)
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR, BOR
Details
on
Page:
TOSU
Top-of-Stack Upper Byte (TOS<20:16>) ---0 0000 61, 73
TOSH Top-of-Stack High Byte (TOS<15:8>) 0000 0000 61, 73
TOSL Top-of-Stack Low Byte (TOS<7:0>) 0000 0000 61, 73
STKPTR STKFUL STKUNF
SP4 SP3 SP2 SP1 SP0 00-0 0000 61, 74
PCLATU
—bit 21
(1)
Holding Register for PC<20:16> ---0 0000 61, 73
PCLATH Holding Register for PC<15:8> 0000 0000 61, 73
PCL PC Low Byte (PC<7:0>) 0000 0000 61, 73
TBLPTRU
bit 21 Program Memory Table Pointer Upper Byte (TBLPTR<20:16>) --00 0000 61, 106
TBLPTRH Program Memory Table Pointer High Byte (TBLPTR<15:8>) 0000 0000 61, 106
TBLPTRL Program Memory Table Pointer Low Byte (TBLPTR<7:0>) 0000 0000 61, 106
TABLAT Program Memory Table Latch 0000 0000 61, 106
PRODH Product Register High Byte xxxx xxxx 61, 119
PRODL Product Register Low Byte xxxx xxxx 61, 119
INTCON GIE/GIEH PEIE/GIEL TMR0IE INT0IE RBIE TMR0IF INT0IF RBIF 0000 000x 61, 123
INTCON2 RBPU
INTEDG0 INTEDG1 INTEDG2 INTEDG3 TMR0IP INT3IP RBIP 1111 1111 61, 123
INTCON3 INT2IP INT1IP INT3IE INT2IE INT1IE INT3IF INT2IF INT1IF 1100 0000 61, 123
INDF0 Uses contents of FSR0 to address data memory – value of FSR0 not changed (not a physical register) N/A 61, 91
POSTINC0 Uses contents of FSR0 to address data memory – value of FSR0 post-incremented (not a physical register) N/A 61, 92
POSTDEC0 Uses contents of FSR0 to address data memory – value of FSR0 post-decremented (not a physical register) N/A 61, 92
PREINC0 Uses contents of FSR0 to address data memory – value of FSR0 pre-incremented (not a physical register) N/A 61, 92
PLUSW0 Uses contents of FSR0 to address data memory – value of FSR0 pre-incremented (not a physical register) –
value of FSR0 offset by W
N/A 61, 92
FSR0H
Indirect Data Memory Address Pointer 0 High Byte ---- xxxx 61, 91
FSR0L Indirect Data Memory Address Pointer 0 Low Byte xxxx xxxx 61, 91
WREG Working Register xxxx xxxx 61, 75
INDF1 Uses contents of FSR1 to address data memory – value of FSR1 not changed (not a physical register) N/A 61, 91
POSTINC1 Uses contents of FSR1 to address data memory – value of FSR1 post-incremented (not a physical register) N/A 61, 92
POSTDEC1 Uses contents of FSR1 to address data memory – value of FSR1 post-decremented (not a physical register) N/A 61, 92
PREINC1 Uses contents of FSR1 to address data memory – value of FSR1 pre-incremented (not a physical register) N/A 61, 92
PLUSW1 Uses contents of FSR1 to address data memory – value of FSR1 pre-incremented (not a physical register) –
value of FSR1 offset by W
N/A 61, 92
FSR1H
Indirect Data Memory Address Pointer 1 High Byte ---- xxxx 61, 91
FSR1L Indirect Data Memory Address Pointer 1 Low Byte xxxx xxxx 61, 91
BSR
Bank Select Register ---- 0000 61, 78
INDF2 Uses contents of FSR2 to address data memory – value of FSR2 not changed (not a physical register) N/A 62, 91
POSTINC2 Uses contents of FSR2 to address data memory – value of FSR2 post-incremented (not a physical register) N/A 62, 92
POSTDEC2 Uses contents of FSR2 to address data memory – value of FSR2 post-decremented (not a physical register) N/A 62, 92
PREINC2 Uses contents of FSR2 to address data memory – value of FSR2 pre-incremented (not a physical register) N/A 62, 92
PLUSW2 Uses contents of FSR2 to address data memory – value of FSR2 pre-incremented (not a physical register) –
value of FSR2 offset by W
N/A 62, 92
FSR2H
Indirect Data Memory Address Pointer 2 High Byte ---- xxxx 62, 91
Legend: x = unknown, u = unchanged, - = unimplemented, q = value depends on condition. Bold indicates shared-access SFRs.
Note 1: Bit 21 of the PC is only available in Serial Programming modes.
2: Default (legacy) SFR at this address, available when WDTCON<4> = 0.
3: Configuration SFR, overlaps with default SFR at this address; available only when WDTCON<4> = 1.
4: Reset value is ‘0 when Two-Speed Start-up is enabled and1’ if disabled.
5: The SSPxMSK registers are only accessible when SSPxCON2<3:0> = 1001.
6: Alternate names and definitions for these bits when the MSSP module is operating in I
2
C™ Slave mode. See Section 19.4.3.2 “Address
Masking Modes” for details
7: These bits and/or registers are only available in 80-pin devices; otherwise, they are unimplemented and read as ‘0’. Reset values are
shown for 80-pin devices.
8: The PMADDRH/PMDOUT1H and PMADDRL/PMDOUT1L register pairs share the physical registers and addresses, but have different
functions determined by the module’s operating mode. See Section 11.1.2 “Data Registers” for more information.