80
www.ubicom.com
IP2022 Data Sheet
7.0 Memory Reference
7.0.1
Registers (sorted by address)
Table 7-1 shows the addresses and reset values of all special-purpose registers in data memory, sorted by their address.
Table 7-1 Register Addresses and Reset State
Address
Name
Description
Register Status Follow-
ing Reset (Power-On,
RST, Brown-Out RST,
Watchdog RST)
0x001
Reserved
Reserved
Reserved
0x002
ADDRSEL
Selector for current external/program memory
ADDRX/ADDRH/ADDRL
0000 0000
0x003
ADDRX
External/program memory pointer (bits 23:16)
0000 0000
0x004
IPH
Indirect Data RAM Pointer (high byte)
0000 0000
0x005
IPL
Indirect Data RAM Pointer (low byte, see Section
4.1)
0000 0000
0x006
SPH
Data RAM Stack Pointer (high byte)
0000 0000
0x007
SPL
Data RAM Stack Pointer (low byte, see Section
4.1)
0000 0000
0x008
PCH
Current PC (program counter) bits 15:8 (read-only)
1111 1111
0x009
PCL
Virtual register for direct PC modification
1111 0000
0x00A
WREG
W (working) register
0000 0000
0x00B
STATUS
STATUS register
1110 0000
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, see Section 3.5)
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 5.11)
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