30
www.ubicom.com
IP2022 Data Sheet
3.9
Special-Purpose Register Map
Table 3-9 shows the addresses and reset values of all special-purpose registers.
Table 3-9 Register Addresses and Reset State
Address
Name
Description
Register Status Follow-
ing Reset (Power-On,
RST, BOR, Watchdog)
0x001
Reserved
Reserved
Reserved
0x002
ADDRSEL
Selector for current external/program memory
pointer
0000 0000
0x003
ADDRX
External/program memory pointer (bits 23:16)
0000 0000
0x004
IPH
Indirect Pointer (high byte)
0000 0000
0x005
IPL
Indirect Pointer (low byte, see Section 4.1)
0000 0000
0x006
SPH
Stack Pointer (high byte)
0000 0000
0x007
SPL
Stack Pointer (low byte, see Section 4.1)
0000 0000
0x008
PCH
Current PC bits 15:8 (read-only)
1111 1111
0x009
PCL
Virtual register for direct PC modification
1111 0000
0x00A
WREG
W register
0000 0000
0x00B
STATUS
STATUS register
See Table 3-7
0x00C
DPH
Data Pointer (high byte)
0000 0000
0x00D
DPL
Data Pointer (low byte, see Section 4.1)
0000 0000
0x00E
SPDREG
Current speed (read-only)
1001 0011
0x00F
MULH
Multiply result (high byte)
0000 0000
0x010
ADDRH
External/program memory address (bits 15:8)
0000 0000
0x011
ADDRL
External/program memory address (bits 7:0, see
Section 4.1)
0000 0000
0x012
DATAH
External/program memory data (high byte)
0000 0000
0x013
DATAL
External/program memory data (low byte)
0000 0000
0x014
INTVECH
Interrupt vector (high byte)
0000 0000
0x015
INTVECL
Interrupt vector (low byte)
0000 0000
0x016
INTSPD
Interrupt speed register
0000 0000
0x017
INTF
Port B interrupt flags
Undefined
0x018
INTE
Port B interrupt enable bits
0000 0000
0x019
INTED
Port B interrupt edge select bits
0000 0000
0x01A
FCFG
Flash configuration register
0000 0000
0x01B
TCTRL
Timer 1/2 common control register
0000 0000
0x01C
XCFG
Extended configuration (bit 0 is read-only)
0000 0001
0x01D
EMCFG
External memory configuration register
0000 0000