
; This file describes the SFR names for C166 family

.default C167

; Interrupt definitions:

interrupt vector at 0x0000: RESET
interrupt vector at 0x0008: NMITRAP
interrupt vector at 0x0010: STOTRAP
interrupt vector at 0x0018: STUTRAP
interrupt vector at 0x0028: BTRAP
interrupt vector at 0x0040: CC0INT
interrupt vector at 0x0044: CC1INT
interrupt vector at 0x0048: CC2INT
interrupt vector at 0x004C: CC3INT
interrupt vector at 0x0050: CC4INT
interrupt vector at 0x0054: CC5INT
interrupt vector at 0x0058: CC6INT
interrupt vector at 0x005C: CC7INT
interrupt vector at 0x0060: CC8INT
interrupt vector at 0x0064: CC9INT
interrupt vector at 0x0068: CC10INT
interrupt vector at 0x006C: CC11INT
interrupt vector at 0x0070: CC12INT
interrupt vector at 0x0074: CC13INT
interrupt vector at 0x0078: CC14INT
interrupt vector at 0x007C: CC15INT
interrupt vector at 0x0080: T0INT
interrupt vector at 0x0084: T1INT
interrupt vector at 0x0088: T2INT
interrupt vector at 0x008c: T3INT
interrupt vector at 0x0090: T4INT
interrupt vector at 0x0094: T5INT
interrupt vector at 0x0098: T6INT
interrupt vector at 0x009C: CRINT
interrupt vector at 0x00A0: ADCINT
interrupt vector at 0x00A4: ADEINT
interrupt vector at 0x00A8: S0TINT
interrupt vector at 0x00AC: S0RINT
interrupt vector at 0x00B0: S0EINT
interrupt vector at 0x00B4: SCTINT
interrupt vector at 0x00B8: SCRINT
interrupt vector at 0x00BC: SCEINT
interrupt vector at 0x00C0: CC16INT
interrupt vector at 0x00C4: CC17INT
interrupt vector at 0x00C8: CC18INT
interrupt vector at 0x00CC: CC19INT
interrupt vector at 0x00D0: CC20INT
interrupt vector at 0x00D4: CC21INT
interrupt vector at 0x00D8: CC22INT
interrupt vector at 0x00DC: CC23INT
interrupt vector at 0x00E0: CC24INT
interrupt vector at 0x00E4: CC25INT
interrupt vector at 0x00E8: CC26INT
interrupt vector at 0x00EC: CC27INT
interrupt vector at 0x00F0: CC28INT
interrupt vector at 0x00F4: T7INT
interrupt vector at 0x00F8: T8INT
interrupt vector at 0x00FC: PWMINT
interrupt vector at 0x0100: XP0INT
interrupt vector at 0x0104: XP1INT
interrupt vector at 0x0108: XP2INT
interrupt vector at 0x010C: XP3INT
interrupt vector at 0x0110: CC29INT
interrupt vector at 0x0114: CC30INT
interrupt vector at 0x0118: CC31INT
interrupt vector at 0x011C: S0TBINT

; common definitions:

DPP0             0xFE00 CPU Data Page Pointer 0 Register (10 bits)
DPP1             0xFE02 CPU Data Page Pointer 1 Register (10 bits)
DPP2             0xFE04 CPU Data Page Pointer 2 Register (10 bits)
DPP3             0xFE06 CPU Data Page Pointer 3 Register (10 bits)
CSP              0xFE08 CPU Code Segment Pointer Register (8 bits, not directly writeable)
CP               0xFE10 CPU Context Pointer Register

C1MCR1   0xEF10  CAN1 Message Ctrl. Reg. (msg. 1)
C1MCR2   0xEF20  CAN1 Message Ctrl. Reg. (msg. 2)
C1MCR3   0xEF30  CAN1 Message Ctrl. Reg. (msg. 3)
C1MCR4   0xEF40  CAN1 Message Ctrl. Reg. (msg. 4)
C1MCR5   0xEF50  CAN1 Message Ctrl. Reg. (msg. 5)
C1MCR6   0xEF60  CAN1 Message Ctrl. Reg. (msg. 6)
C1MCR7   0xEF70  CAN1 Message Ctrl. Reg. (msg. 7)
C1MCR8   0xEF80  CAN1 Message Ctrl. Reg. (msg. 8)
C1MCR9   0xEF90  CAN1 Message Ctrl. Reg. (msg. 9)
C1MCRA   0xEFA0  CAN1 Message Ctrl. Reg. (msg. A)
C1MCRB   0xEFB0  CAN1 Message Ctrl. Reg. (msg. B)
C1MCRC   0xEFC0  CAN1 Message Ctrl. Reg. (msg. C)
C1MCRD   0xEFD0  CAN1 Message Ctrl. Reg. (msg. D)
C1MCRE   0xEFE0  CAN1 Message Ctrl. Reg. (msg. E)
C1MCRF   0xEFF0  CAN1 Message Ctrl. Reg. (msg. F)
C1UAR1   0xEF12  CAN1 Upper Arbitration Reg. (msg. 1)
C1UAR2   0xEF22  CAN1 Upper Arbitration Reg. (msg. 2)
C1UAR3   0xEF32  CAN1 Upper Arbitration Reg. (msg. 3)
C1UAR4   0xEF42  CAN1 Upper Arbitration Reg. (msg. 4)
C1UAR5   0xEF52  CAN1 Upper Arbitration Reg. (msg. 5)
C1UAR6   0xEF62  CAN1 Upper Arbitration Reg. (msg. 6)
C1UAR7   0xEF72  CAN1 Upper Arbitration Reg. (msg. 7)
C1UAR8   0xEF82  CAN1 Upper Arbitration Reg. (msg. 8)
C1UAR9   0xEF92  CAN1 Upper Arbitration Reg. (msg. 9)
C1UARA   0xEFA2  CAN1 Upper Arbitration Reg. (msg. A)
C1UARB   0xEFB2  CAN1 Upper Arbitration Reg. (msg. B)
C1UARC   0xEFC2  CAN1 Upper Arbitration Reg. (msg. C)
C1UARD   0xEFD2  CAN1 Upper Arbitration Reg. (msg. D)
C1UARE   0xEFE2  CAN1 Upper Arbitration Reg. (msg. E)
C1UARF   0xEFF2  CAN1 Upper Arbitration Reg. (msg. F)
C1LAR1   0xEF14  CAN1 Lower Arbitration Reg. (msg. 1)
C1LAR2   0xEF24  CAN1 Lower Arbitration Reg. (msg. 2)
C1LAR3   0xEF34  CAN1 Lower Arbitration Reg. (msg. 3)
C1LAR4   0xEF44  CAN1 Lower Arbitration Reg. (msg. 4)
C1LAR5   0xEF54  CAN1 Lower Arbitration Reg. (msg. 5)
C1LAR6   0xEF64  CAN1 Lower Arbitration Reg. (msg. 6)
C1LAR7   0xEF74  CAN1 Lower Arbitration Reg. (msg. 7)
C1LAR8   0xEF84  CAN1 Lower Arbitration Reg. (msg. 8)
C1LAR9   0xEF94  CAN1 Lower Arbitration Reg. (msg. 9)
C1LARA   0xEFA4  CAN1 Lower Arbitration Reg. (msg. A)
C1LARB   0xEFB4  CAN1 Lower Arbitration Reg. (msg. B)
C1LARC   0xEFC4  CAN1 Lower Arbitration Reg. (msg. C)
C1LARD   0xEFD4  CAN1 Lower Arbitration Reg. (msg. D)
C1LARE   0xEFE4  CAN1 Lower Arbitration Reg. (msg. E)
C1LARF   0xEFF4  CAN1 Lower Arbitration Reg. (msg. F)
C1MCFG1  0xEF16  CAN1 Message Configuration Register (msg. 1)
C1MCFG2  0xEF26  CAN1 Message Configuration Register (msg. 2)
C1MCFG3  0xEF36  CAN1 Message Configuration Register (msg. 3)
C1MCFG4  0xEF46  CAN1 Message Configuration Register (msg. 4)
C1MCFG5  0xEF56  CAN1 Message Configuration Register (msg. 5)
C1MCFG6  0xEF66  CAN1 Message Configuration Register (msg. 6)
C1MCFG7  0xEF76  CAN1 Message Configuration Register (msg. 7)
C1MCFG8  0xEF86  CAN1 Message Configuration Register (msg. 8)
C1MCFG9  0xEF96  CAN1 Message Configuration Register (msg. 9)
C1MCFGA  0xEFA6  CAN1 Message Configuration Register (msg. A)
C1MCFGB  0xEFB6  CAN1 Message Configuration Register (msg. B)
C1MCFGC  0xEFC6  CAN1 Message Configuration Register (msg. C)
C1MCFGD  0xEFD6  CAN1 Message Configuration Register (msg. D)
C1MCFGE  0xEFE6  CAN1 Message Configuration Register (msg. E)
C1MCFGF  0xEFF6  CAN1 Message Configuration Register (msg. F)


;--------------------------------------------------------------------

.C164CXSX

ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADCON.ADWR            9
ADCON.ADCIN          10
ADCON.ADCRQ          11
ADDAT            0xFEA0 A/D Converter Result Register
ADDAT2           0xF0A0 A/D Converter 2 Result Register
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
CAPREL           0xFE4A GPT2 Capture/Reload Register
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC20             0xFE68 CAPCOM Register 20
CC20IC           0xF168 CAPCOM Register 20 Interrupt Ctrl. Reg.
CC20IC.CC20IR         7
CC20IC.CC20IE         6
CC21             0xFE6A CAPCOM Register 21
CC21IC           0xF16A CAPCOM Register 21 Interrupt Ctrl. Reg.
CC21IC.CC21IR         7
CC21IC.CC21IE         6
CC22             0xFE6C CAPCOM Register 22
CC22IC           0xF16C CAPCOM Register 22 Interrupt Ctrl. Reg.
CC22IC.CC22IR         7
CC22IC.CC22IE         6
CC23             0xFE6E CAPCOM Register 23
CC23IC           0xF16E CAPCOM Register 23 Interrupt Ctrl. Reg.
CC23IC.CC23IR         7
CC23IC.CC23IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CC28             0xFE78 CAPCOM Register 28
CC28IC           0xF178 CAPCOM Register 28 Interrupt Ctrl. Reg.
CC28IC.CC28IR         7
CC28IC.CC28IE         6
CC29             0xFE7A CAPCOM Register 29
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30             0xFE7C CAPCOM Register 30
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31             0xFE7E CAPCOM Register 31
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6
CC60             0xFE30
CC61             0xFE32
CC62             0xFE34
CC6EIC           0xF188
CC6EIC.CC6EIE         6
CC6EIC.CC6EIR         7
CC6IC            0xF17E CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IE           6
CC6IC.CC6IR           7
CC6MCON          0xFF32
CC6MCON.CC0I          0
CC6MCON.COUT0I        1
CC6MCON.CC1I          2
CC6MCON.COUT1I        3
CC6MCON.CC2I          4
CC6MCON.COUT2I        5
CC6MCON.COUTXI        6
CC6MCON.COUT3I        7
CC6MCON.BCEN         10
CC6MCON.BCERR        11
CC6MCON.EBCE         12
CC6MCON.BCEM         15
CC6MIC           0xFF36
CC6MIC.CC0REN         0
CC6MIC.CC0FEN         1
CC6MIC.CC1REN         2
CC6MIC.CC1FEN         3
CC6MIC.CC2REN         4
CC6MIC.CC2FEN         5
CC6MIC.ECTC           6
CC6MIC.ECTP           7
CC6MIC.CC0R           8
CC6MIC.CC0F           9
CC6MIC.CC1R          10
CC6MIC.CC1F          11
CC6MIC.CC2R          12
CC6MIC.CC2F          13
CC6MIC.CT12FC        14
CC6MIC.CT12FP        15
CC6MSEL          0xF036
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM5             0xFF24 CAPCOM Mode Control Register 5
CCM5.ACC20            3
CCM5.ACC21            7
CCM5.ACC22           11
CCM5.ACC23           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
CCM7             0xFF28 CAPCOM Mode Control Register 7
CCM7.ACC28            3
CCM7.ACC29            7
CCM7.ACC30           11
CCM7.ACC31           15
CMP13            0xFE36
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
CTCON            0xFF30
CTCON.CT12R           3
CTCON.CT12RES         4
CTCON.STE12           5
CTCON.ETRP            6
CTCON.CTM             7
CTCON.CT13R          11
CTCON.CT13RES        12
CTCON.STE13          13
CTCON.ECT13O         14
CTCON.CT13P          15
DP0H             0xF102 P0H Direction Control Register
DP0L             0xF100 P0L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP8              0xFFD6 Port 8 Direction Control Register
EXICON           0xF1C0 External Interrupt Control Register
EXISEL           0xF1DA
IDCHIP           0xF07C
IDMANUF          0xF07E
IDMEM            0xF07A
IDPROG           0xF078
ISNC             0xF1DE
ISNC.RTCIR            0
ISNC.RTCIE            1
ISNC.PLLIR            2
ISNC.PLLIE            3
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP4             0xF1CA
ODP8             0xF1D6 Port 8 Open Drain Control Register
ONES             0xFF1E Constant Value 1’s Register (read only)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P3               0xFFC4 Port 3 Register
P3.T6OUT              1
P3.CAPIN              2
P3.T3OUT              3
P3.T3EUD              4
P3.T3IN               6
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T6EUD             10
P5.T5EUD             11
P5.T6IN              12
P5.T5IN              13
P5.T4EUD             14
P5.T2EUD             15
P5DIDIS          0xFFA4 Port 5 Digital Input Disable Register
P8               0xFFD4 Port 8 Register (8 bits)
P8.CC20IO             4
P8.CC21IO             5
P8.CC22IO             6
P8.CC23IO             7
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register
PICON            0xF1C4 Port Input Threshold Control Register
PICON.P3LIN           2
PICON.P3HIN           3
PICON.P4LIN           4
PICON.P8LIN           7
POCON0H          0xF082
POCON0L          0xF080
POCON1H          0xF086
POCON1L          0xF084
POCON20          0xF0AA
POCON3           0xF08A
POCON4           0xF08C
POCON8           0xF092
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
PTCR             0xF0AE
RP0H             0xF108 System Startup Configuration Register (read only)
RTCH             0xF0D6
RTCL             0xF0D4
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
SP               0xFE12 CPU System Stack Pointer Register
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCPO          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCRB            0xF0B2 SSC Receive Buffer
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.VISIBLE        1
SYSCON.XPEN           2
SYSCON.BDRSTEN        3
SYSCON.OWDDIS         4
SYSCON.CSSFG          6
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTDIS        11
SYSCON.ROMS1         12
SYSCON1          0xF1DC
SYSCON2          0xF1D0
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1D4
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.DFMDIS        4
SYSCON3.PFMDIS        5
SYSCON3.CC2DIS        7
SYSCON3.CC6DIS        8
SYSCON3.CAN1DIS      13
SYSCON3.PCDDIS       15
T12IC            0xF190
T12IC.T12IE           6
T12IC.T12IR           7
T12OF            0xF034
T12P             0xF030
T13IC            0xF198
T13IC.T13IE           6
T13IC.T13IR           7
T13P             0xF032
T14              0xF0D2
T14REL           0xF0D0
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T7M            3
T78CON.T7R            6
T78CON.T8M           11
T78CON.T8R           14
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
TRCON            0xFF34
TRCON.TREN0           8
TRCON.TREN1           9
TRCON.TREN2          10
TRCON.TREN3          11
TRCON.TREN4          12
TRCON.TREN5          13
TRCON.TRF            14
TRCON.TRPEN          15
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1
WDTCON.SWR            2
WDTCON.SHWR           3
WDTCON.LHWR           4
WDTCON.WDTPRE         7
XP0IC            0xF186 CAN1 Interrupt Control Register
XP1IC            0xF18E Unassigned Interrupt Control Register
XP3IC            0xF19E PLL/OWD Interrupt Control Register
ZEROS            0xFF1C Constant Value 0’s Register (read only)


;--------------------------------------------------------------------

.C161
; Register Declarations for C161V/K/O and C161SI/CI/RI Processor

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T2IN               7
P3.T3IN               6
P3.T4IN               5
P3.T3EUD              4
P3.T3OUT              3
P3.CAPIN              2
P3.T6OUT              1
P3.T0IN               0
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T2EUD             15
P5.T4EUD             14
P5.T5IN              13
P5.T6IN              12
P5.T5EUD             11
P5.T6EUD             10
P5DIDIS          0xFFA4 Port 5 Digital Input Disable Register
P6               0xFFCC Port 6 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

; Timer 0, Timer 1, Timer 7, Timer 8:  C161SI/CI only
CC0              0xFE80 CAPCOM Register 0
CC0IC            0xFF78 CAPCOM Register 0 Interrupt Ctrl. Reg.
CC0IC.CC0IR           7
CC0IC.CC0IE           6
CC1              0xFE82 CAPCOM Register 1
CC1IC            0xFF7A CAPCOM Register 1 Interrupt Ctrl. Reg.
CC1IC.CC1IR           7
CC1IC.CC1IE           6
CC2              0xFE84 CAPCOM Register 2
CC2IC            0xFF7C CAPCOM Register 2 Interrupt Ctrl. Reg.
CC2IC.CC2IR           7
CC2IC.CC2IE           6
CC3              0xFE86 CAPCOM Register 3
CC3IC            0xFF7E CAPCOM Register 3 Interrupt Ctrl. Reg.
CC3IC.CC3IR           7
CC3IC.CC3IE           6
CC4              0xFE88 CAPCOM Register 4
CC4IC            0xFF80 CAPCOM Register 4 Interrupt Ctrl. Reg.
CC4IC.CC4IR           7
CC4IC.CC4IE           6
CC5              0xFE8A CAPCOM Register 5
CC5IC            0xFF82 CAPCOM Register 5 Interrupt Ctrl. Reg.
CC5IC.CC5IR           7
CC5IC.CC5IE           6
CC6              0xFE8C CAPCOM Register 6
CC6IC            0xFF84 CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IR           7
CC6IC.CC6IE           6
CC7              0xFE8E CAPCOM Register 7
CC7IC            0xFF86 CAPCOM Register 7 Interrupt Ctrl. Reg.
CC7IC.CC7IR           7
CC7IC.CC7IE           6
CC8              0xFE90 CAPCOM Register 8
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9              0xFE92 CAPCOM Register 9
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10             0xFE94 CAPCOM Register 10
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11             0xFE96 CAPCOM Register 11
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12             0xFE98 CAPCOM Register 12
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13             0xFE9A CAPCOM Register 13
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14             0xFE9C CAPCOM Register 14
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15             0xFE9E CAPCOM Register 15
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC20             0xFE68 CAPCOM Register 20
CC20IC           0xF168 CAPCOM Register 20 Interrupt Ctrl. Reg.
CC20IC.CC20IR         7
CC20IC.CC20IE         6
CC21             0xFE6A CAPCOM Register 21
CC21IC           0xF16A CAPCOM Register 21 Interrupt Ctrl. Reg.
CC21IC.CC21IR         7
CC21IC.CC21IE         6
CC22             0xFE6C CAPCOM Register 22
CC22IC           0xF16C CAPCOM Register 22 Interrupt Ctrl. Reg.
CC22IC.CC22IR         7
CC22IC.CC22IE         6
CC23             0xFE6E CAPCOM Register 23
CC23IC           0xF16E CAPCOM Register 23 Interrupt Ctrl. Reg.
CC23IC.CC23IR         7
CC23IC.CC23IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CC28             0xFE78 CAPCOM Register 28
CC28IC           0xF178 CAPCOM Register 28 Interrupt Ctrl. Reg.
CC28IC.CC28IR         7
CC28IC.CC28IE         6
CC29             0xFE7A CAPCOM Register 29
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30             0xFE7C CAPCOM Register 30
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31             0xFE7E CAPCOM Register 31
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6
CCM0             0xFF52 CAPCOM Mode Control Register 0
CCM0.ACC0             3
CCM0.ACC1             7
CCM0.ACC2            11
CCM0.ACC3            15
CCM1             0xFF54 CAPCOM Mode Control Register 1
CCM1.ACC4             3
CCM1.ACC5             7
CCM1.ACC6            11
CCM1.ACC7            15
CCM2             0xFF56 CAPCOM Mode Control Register 2
CCM2.ACC8             3
CCM2.ACC9             7
CCM2.ACC10           11
CCM2.ACC11           15
CCM3             0xFF58 CAPCOM Mode Control Register 3
CCM3.ACC12            3
CCM3.ACC13            7
CCM3.ACC14           11
CCM3.ACC15           15
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM5             0xFF24 CAPCOM Mode Control Register 5
CCM5.ACC20            3
CCM5.ACC21            7
CCM5.ACC22           11
CCM5.ACC23           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
CCM7             0xFF28 CAPCOM Mode Control Register 7
CCM7.ACC28            3
CCM7.ACC29            7
CCM7.ACC30           11
CCM7.ACC31           15
T0               0xFE50 CAPCOM Timer 0 Register
T01CON           0xFF50 CAPCOM Timer 0 and Timer 1 Ctrl. Reg.
T01CON.T1M           11
T01CON.T1R           14
T01CON.T0M            3
T01CON.T0R            6
T0IC             0xFF9C CAPCOM Timer 0 Interrupt Ctrl. Reg.
T0IC.T0IE             6
T0IC.T0IR             7
T0REL            0xFE54 CAPCOM Timer 0 Reload Register
T1               0xFE52 CAPCOM Timer 1 Register
T1IC             0xFF9E CAPCOM Timer 1 Interrupt Ctrl. Reg.
T1IC.T1IE             6
T1IC.T1IR             7
T1REL            0xFE56 CAPCOM Timer 1 Reload Register
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T8M           11
T78CON.T8R           14
T78CON.T7M            3
T78CON.T7R            6
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register

; A/D Converter:  C161SI/CI only
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADM             4
ADCON.ADRP            6
ADCON.ADST            7
ADCON.ADBSY           8
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
IDCHIP           0xF07C
IDMANUF          0xF07E
IDMEM            0xF07A
IDPROG           0xF078
EXISEL           0xF1DA
EXICON           0xF1C0 External Interrupt Control Register
ISNC             0xF1DE
ISNC.RTCIE            0
ISNC.RTCIR            1
ISNC.PLLIE            2
ISNC.PLLIR            3
PP0              0xF038 PWM Module Period Register 0
PP1              0xF03A PWM Module Period Register 1
PP2              0xF03C PWM Module Period Register 2
PP3              0xF03E PWM Module Period Register 3
PT0              0xF030 PWM Module Up/Down Counter 0
PT1              0xF032 PWM Module Up/Down Counter 1
PT2              0xF034 PWM Module Up/Down Counter 2
PT3              0xF036 PWM Module Up/Down Counter 3
PW0              0xFE30 PWM Module Pulse Width Register 0
PW1              0xFE32 PWM Module Pulse Width Register 1
PW2              0xFE34 PWM Module Pulse Width Register 2
PW3              0xFE36 PWM Module Pulse Width Register 3
PWMCON0          0xFF30
PWMCON0.PTR0          0
PWMCON0.PTR1          1
PWMCON0.PTR2          2
PWMCON0.PTR3          3
PWMCON0.PTI0          4
PWMCON0.PTI1          5
PWMCON0.PTI2          6
PWMCON0.PTI3          7
PWMCON0.PIE0          8
PWMCON0.PIE1          9
PWMCON0.PIE2         10
PWMCON0.PIE3         11
PWMCON0.PIR0         12
PWMCON0.PIR1         13
PWMCON0.PIR2         14
PWMCON0.PIR3         15
PWMCON1          0xFF32
PWMCON1.PEN0          0
PWMCON1.PEN1          1
PWMCON1.PEN2          2
PWMCON1.PEN3          3
PWMCON1.PM0           4
PWMCON1.PM1           5
PWMCON1.PM2           6
PWMCON1.PM3           7
PWMCON1.PB01         12
PWMCON1.PS2          14
PWMCON1.PS3          15
PWMIC            0xF17E PWM Module Interrupt Control Register
PWMIC.PWMIR           7
PWMIC.PWMIE           6
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCP0          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15
SYSCON2          0xF1D0
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1D4
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.GPT2DIS       4
SYSCON3.FMDIS         5
SYSCON3.CC1DIS        6
SYSCON3.CC2DIS        7
SYSCON3.PWMDIS        9
SYSCON3.ASC1DIS      10
SYSCON3.I2CDIS       11
SYSCON3.CAN1DIS      13
SYSCON3.PCDDIS       15
DP9              0xFFDA
P9               0xFFD8
T14              0xF0D2
T14REL           0xF0D0
RTCH             0xF0D6
RTCL             0xF0D4
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IE           6
XP0IC.XP0IR           7
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IE           6
XP1IC.XP1IR           7
XP2IC            0xF196 Unassigned Interrupt Control Register
XP2IC.XP2IE           6
XP2IC.XP2IR           7
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IE           6
XP3IC.XP3IR           7
XP4IC            0xF182
XP4IC.XP4IE           6
XP4IC.XP4IR           7
XP5IC            0xF18A
XP5IC.XP5IE           6
XP5IC.XP5IR           7
XP6IC            0xF192
XP6IC.XP6IE           6
XP6IC.XP6IR           7
XP7IC            0xF19A
XP7IC.XP7IE           6
XP7IC.XP7IR           7

;--------------------------------------------------------------------

.C163

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T2IN               7
P3.T3IN               6
P3.T4IN               5
P3.T3EUD              4
P3.T3OUT              3
P3.CAPIN              2
P3.T6OUT              1
P3.T0IN               0
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T2EUD             15
P5.T4EUD             14
P5.T5IN              13
P5.T6IN              12
P5.T5EUD             11
P5.T6EUD             10
P6               0xFFCC Port 6 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* External Interrupts *
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6

;* X-Peripherals *
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6
;--------------------------------------------------------------------

.C164

;* A/D Converter *
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADCON.ADWR            9
ADCON.ADCIN          10
ADCON.ADCRQ          11
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
ADDAT2           0xF0A0 A/D Converter 2 Result Register

;* Timer 7, Timer 8 *
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T7M            3
T78CON.T7R            6
T78CON.T8M           11
T78CON.T8R           14
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP8              0xFFD6 Port 8 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P3               0xFFC4 Port 3 Register
P3.T3IN               6
P3.T3EUD              4
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T2EUD              4
P5.T4EUD              5
P5.T2IN               6
P5.T4IN               7
P5DIDIS          0xFFA4 Port 5 Digital Input Disable Register
P8               0xFFD4 Port 8 Register (8 bits)
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP8             0xF1D6 Port 8 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)
PICON            0xF1C4 Port Input Threshold Control Register

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCPO          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1
CTCON            0xFF30
CTCON.CT12R           3
CTCON.CT12RES         4
CTCON.STE12           5
CTCON.ETRP            6
CTCON.CTM             7
CTCON.CT13R          11
CTCON.CT13RES        12
CTCON.STE13          13
CTCON.ECT13O         14
CTCON.CT13P          15
CC6MCON          0xFF32
CC6MCON.CC0I          0
CC6MCON.COUT0I        1
CC6MCON.CC1I          2
CC6MCON.COUT1I        3
CC6MCON.CC2I          4
CC6MCON.COUT2I        5
CC6MCON.COUTXI        6
CC6MCON.COUT3I        7
CC6MCON.BCEN         10
CC6MCON.BCERR        11
CC6MCON.EBCE         12
CC6MCON.BCEM         15
TRCON            0xFF34
TRCON.TREN0           8
TRCON.TREN1           9
TRCON.TREN2          10
TRCON.TREN3          11
TRCON.TREN4          12
TRCON.TREN5          13
TRCON.TRF            14
TRCON.TRPEN          15
CC6MIC           0xFF36
CC6MIC.CC0REN         0
CC6MIC.CC0FEN         1
CC6MIC.CC1REN         2
CC6MIC.CC1FEN         3
CC6MIC.CC2REN         4
CC6MIC.CC2FEN         5
CC6MIC.ECTC           6
CC6MIC.ECTP           7
CC6MIC.CC0R           8
CC6MIC.CC0F           9
CC6MIC.CC1R          10
CC6MIC.CC1F          11
CC6MIC.CC2R          12
CC6MIC.CC2F          13
CC6MIC.CT12FC        14
CC6MIC.CT12FP        15
CC60             0xFE30
CC61             0xFE32
CC62             0xFE34
CMP13            0xFE36
CC6IC            0xF17E CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IE           6
CC6IC.CC6IR           7
CC6EIC           0xF188
CC6EIC.CC6EIE         6
CC6EIC.CC6EIR         7
T12IC            0xF190
T12IC.T12IE           6
T12IC.T12IR           7
T13IC            0xF198
T13IC.T13IE           6
T13IC.T13IR           7
T12P             0xF030
T13P             0xF032
T12OF            0xF034
CC6MSEL          0xF036
IDPROG           0xF078
IDMEM            0xF07A
IDCHIP           0xF07C
IDMANUF          0xF07E
T14REL           0xF0D0
T14              0xF0D2
RTCL             0xF0D4
RTCH             0xF0D6
SYSCON2          0xF1C8
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1CA
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.DFMDIS        4
SYSCON3.PFMDIS        5
SYSCON3.CC2DIS        7
SYSCON3.CC6DIS        8
SYSCON3.CAN1DIS      13
SYSCON3.PCDDIS       15
EXISEL           0xF1DA
ISNC             0xF1DE
ISNC.RTCIE            0
ISNC.RTCIR            1
ISNC.PLLIE            2
ISNC.PLLIR            3
FOCON            0xFFAA

;* X-Peripherals *
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IR           7
XP0IC.XP0IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6
;--------------------------------------------------------------------

.C165

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.XPER_SHARE     0     XBUS Peripheral Share Mode Control
SYSCON.VISIBLE        1     Visible Mode Control
SYSCON.XPEN           2     XBUS Peripheral Enable Bit
SYSCON.WRCFG          7     Write Configuration Control
SYSCON.CLKEN          8     System Clock Output Enable (CLKOUT)
SYSCON.BYTDIS         9     Disable/Enable Control for Pin BHE
SYSCON.ROMEN         10     Internal ROM Enable
SYSCON.SGTEN         11     Segmentation Disable/Enable Control
SYSCON.ROMS1         12     Internal ROM Mapping
SYSCON.STKSZ0        13     System Stack Size  0
SYSCON.STKSZ1        14     System Stack Size  1
SYSCON.STKSZ2        15     System Stack Size  2
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.MCTC0         0        Memory Cycle Time Control
BUSCON0.MCTC1         1
BUSCON0.MCTC2         2
BUSCON0.MCTC3         3
BUSCON0.RWDC0         4        Read/Write Delay Control for BUSCON0
BUSCON0.MTTC0         5        Memory Tristate Time Control
BUSCON0.BTYP0         6        External Bus Configuration
BUSCON0.BTYP1         7
BUSCON0.ALECTL0       9        ALE Lengthening Control
BUSCON0.BUSACT0      10        Bus Active Control
BUSCON0.RDYEN0       12        READY Input Enable
BUSCON0.CSREN0       14        Read Chip Select Enable
BUSCON0.CSWEN0       15        Write Chip Select Enable
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.MCTC0         0        Memory Cycle Time Control
BUSCON1.MCTC1         1
BUSCON1.MCTC2         2
BUSCON1.MCTC3         3
BUSCON1.RWDC1         4        Read/Write Delay Control for BUSCON1
BUSCON1.MTTC1         5        Memory Tristate Time Control
BUSCON1.BTYP0         6        External Bus Configuration
BUSCON1.BTYP1         7
BUSCON1.ALECTL1       9        ALE Lengthening Control
BUSCON1.BUSACT1      10        Bus Active Control
BUSCON1.RDYEN1       12        READY Input Enable
BUSCON1.CSREN1       14        Read Chip Select Enable
BUSCON1.CSWEN1       15        Write Chip Select Enable
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.MCTC0         0        Memory Cycle Time Control
BUSCON2.MCTC1         1
BUSCON2.MCTC2         2
BUSCON2.MCTC3         3
BUSCON2.RWDC2         4        Read/Write Delay Control for BUSCON2
BUSCON2.MTTC2         5        Memory Tristate Time Control
BUSCON2.BTYP0         6        External Bus Configuration
BUSCON2.BTYP1         7
BUSCON2.ALECTL2       9        ALE Lengthening Control
BUSCON2.BUSACT2      10        Bus Active Control
BUSCON2.RDYEN2       12        READY Input Enable
BUSCON2.CSREN2       14        Read Chip Select Enable
BUSCON2.CSWEN2       15        Write Chip Select Enable
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.MCTC0         0        Memory Cycle Time Control
BUSCON3.MCTC1         1
BUSCON3.MCTC2         2
BUSCON3.MCTC3         3
BUSCON3.RWDC3         4        Read/Write Delay Control for BUSCON3
BUSCON3.MTTC3         5        Memory Tristate Time Control
BUSCON3.BTYP0         6        External Bus Configuration
BUSCON3.BTYP1         7
BUSCON3.ALECTL3       9        ALE Lengthening Control
BUSCON3.BUSACT3      10        Bus Active Control
BUSCON3.RDYEN3       12        READY Input Enable
BUSCON3.CSREN3       14        Read Chip Select Enable
BUSCON3.CSWEN3       15        Write Chip Select Enable
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.MCTC0         0        Memory Cycle Time Control
BUSCON4.MCTC1         1
BUSCON4.MCTC2         2
BUSCON4.MCTC3         3
BUSCON4.RWDC4         4        Read/Write Delay Control for BUSCON4
BUSCON4.MTTC4         5        Memory Tristate Time Control
BUSCON4.BTYP0         6        External Bus Configuration
BUSCON4.BTYP1         7
BUSCON4.ALECTL4       9        ALE Lengthening Control
BUSCON4.BUSACT4      10        Bus Active Control
BUSCON4.RDYEN4       12        READY Input Enable
BUSCON4.CSREN4       14        Read Chip Select Enable
BUSCON4.CSWEN4       15        Write Chip Select Enable
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL1.RGSZ0        0        Range Size Selection
ADDRSEL1.RGSZ1        1
ADDRSEL1.RGSZ2        2
ADDRSEL1.RGSZ3        3
ADDRSEL1.RGSAD0       4        Range Start Address
ADDRSEL1.RGSAD1       5
ADDRSEL1.RGSAD2       6
ADDRSEL1.RGSAD3       7
ADDRSEL1.RGSAD4       8
ADDRSEL1.RGSAD5       9
ADDRSEL1.RGSAD6      10
ADDRSEL1.RGSAD7      11
ADDRSEL1.RGSAD8      12
ADDRSEL1.RGSAD9      13
ADDRSEL1.RGSAD10     14
ADDRSEL1.RGSAD11     15

ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL2.RGSZ0        0        Range Size Selection
ADDRSEL2.RGSZ1        1
ADDRSEL2.RGSZ2        2
ADDRSEL2.RGSZ3        3
ADDRSEL2.RGSAD0       4        Range Start Address
ADDRSEL2.RGSAD1       5
ADDRSEL2.RGSAD2       6
ADDRSEL2.RGSAD3       7
ADDRSEL2.RGSAD4       8
ADDRSEL2.RGSAD5       9
ADDRSEL2.RGSAD6      10
ADDRSEL2.RGSAD7      11
ADDRSEL2.RGSAD8      12
ADDRSEL2.RGSAD9      13
ADDRSEL2.RGSAD10     14
ADDRSEL2.RGSAD11     15

ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL3.RGSZ0        0        Range Size Selection
ADDRSEL3.RGSZ1        1
ADDRSEL3.RGSZ2        2
ADDRSEL3.RGSZ3        3
ADDRSEL3.RGSAD0       4        Range Start Address
ADDRSEL3.RGSAD1       5
ADDRSEL3.RGSAD2       6
ADDRSEL3.RGSAD3       7
ADDRSEL3.RGSAD4       8
ADDRSEL3.RGSAD5       9
ADDRSEL3.RGSAD6      10
ADDRSEL3.RGSAD7      11
ADDRSEL3.RGSAD8      12
ADDRSEL3.RGSAD9      13
ADDRSEL3.RGSAD10     14
ADDRSEL3.RGSAD11     15

ADDRSEL4         0xFE1E Address Select Register 4
ADDRSEL4.RGSZ0        0        Range Size Selection
ADDRSEL4.RGSZ1        1
ADDRSEL4.RGSZ2        2
ADDRSEL4.RGSZ3        3
ADDRSEL4.RGSAD0       4        Range Start Address
ADDRSEL4.RGSAD1       5
ADDRSEL4.RGSAD2       6
ADDRSEL4.RGSAD3       7
ADDRSEL4.RGSAD4       8
ADDRSEL4.RGSAD5       9
ADDRSEL4.RGSAD6      10
ADDRSEL4.RGSAD7      11
ADDRSEL4.RGSAD8      12
ADDRSEL4.RGSAD9      13
ADDRSEL4.RGSAD10     14
ADDRSEL4.RGSAD11     15

EXICON           0xF1C0 External Interrupt Control Register

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.CLKOUT            15      System Clock Output
P3.SCLK              13      SSC Shift Clock Input/Output
P3.BHE_WRH           12      Byte High Enable / Write High Output
P3.RxD0              11      ASC0 Receive Data Input
P3.TxD0              10      ASC0 Transmit Data Output
P3.MTSR               9      SSC Master Transmit / Slave Receive
P3.MRST               8      SSC Master Receive / Slave Transmit
P3.T2IN               7      Timer 2 Count Input
P3.T3IN               6      Timer 3 Count Input
P3.T4IN               5      Timer 4 Count Input
P3.T3EUD              4      Timer 3 External Up/Down Control Input
P3.T3OUT              3      Timer 3 Toggle Output
P3.CAPIN              2      GPT2 Capture Input
P3.T6OUT              1      Timer 6 Toggle Output

P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T6EUD             10      Timer 6 external Up/Down Control Input
P5.T5EUD             11      Timer 5 external Up/Down Control Input
P5.T6IN              12      Timer 6 Count Input
P5.T5IN              13      Timer 5 Count Input
P5.T4EUD             14      Timer 4 external Up/Down Control Input
P5.T2EUD             15      Timer 2 external Up/Down Control Input
P6               0xFFCC Port 6 Register (8 bits)
P6.P6_0              0      
P6.P6_1              1      
P6.P6_2              2      
P6.P6_3              3      
P6.P6_4              4      
P6.P6_5              5      
P6.P6_6              6      
P6.P6_7              7      
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCP0          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.GLVL0            0
T2IC.GLVL1            1
T2IC.ILVL0            2
T2IC.ILVL1            3
T2IC.ILVL2            4
T2IC.ILVL3            5
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3I0            0        Timer 3 Input Selection
T3CON.T3I1            1
T3CON.T3I2            2
T3CON.T3M0            3        Timer 3 Mode Control
T3CON.T3M1            4
T3CON.T3M2            5
T3CON.T3R             6        Timer 3 Run Bit
T3CON.T3UD            7        Timer 3 Up / Down Control
T3CON.T3UDE           8        Timer 3 External Up/Down Enable
T3CON.T3OE            9        Alternate Output Function Enable
T3CON.T3OTL          10        Timer 3 Output Toggle Latch
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.GLVL0            0
T3IC.GLVL1            1
T3IC.ILVL0            2
T3IC.ILVL1            3
T3IC.ILVL2            4
T3IC.ILVL3            5
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.GLVL0            0
T4IC.GLVL1            1
T4IC.ILVL0            2
T4IC.ILVL1            3
T4IC.ILVL2            4
T4IC.ILVL3            5
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6I0            0      Timer 6 Input Selection
T6CON.T6I1            1
T6CON.T6I2            2
T6CON.T6M0            3
T6CON.T6M1            4
T6CON.T6M2            5
T6CON.T6R             6      Timer 6 Run Bit
T6CON.T6UD            7      Timer 6 Up / Down Control
T6CON.T6UDE           8      Timer 6 External Up/Down Enable
T6CON.T6OE            9      Alternate Output Function Enable
T6CON.T6OTL          10      Timer 6 Output Toggle Latch
T6CON.T6SR           15      Timer 6 Reload Mode Enable
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* External Interrupts *
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6

;* X-Peripherals *
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IR           7
XP0IC.XP0IE           6
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP2IC            0xF196 Unassigned Interrupt Control Register
XP2IC.XP2IR           7
XP2IC.XP2IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6

;--------------------------------------------------------------------

.C166

;* A/D Converter *
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7

;* Timer 0, Timer 1 *
CC0              0xFE80 CAPCOM Register 0
CC0IC            0xFF78 CAPCOM Register 0 Interrupt Ctrl. Reg.
CC0IC.CC0IR           7
CC0IC.CC0IE           6
CC1              0xFE82 CAPCOM Register 1
CC1IC            0xFF7A CAPCOM Register 1 Interrupt Ctrl. Reg.
CC1IC.CC1IR           7
CC1IC.CC1IE           6
CC2              0xFE84 CAPCOM Register 2
CC2IC            0xFF7C CAPCOM Register 2 Interrupt Ctrl. Reg.
CC2IC.CC2IR           7
CC2IC.CC2IE           6
CC3              0xFE86 CAPCOM Register 3
CC3IC            0xFF7E CAPCOM Register 3 Interrupt Ctrl. Reg.
CC3IC.CC3IR           7
CC3IC.CC3IE           6
CC4              0xFE88 CAPCOM Register 4
CC4IC            0xFF80 CAPCOM Register 4 Interrupt Ctrl. Reg.
CC4IC.CC4IR           7
CC4IC.CC4IE           6
CC5              0xFE8A CAPCOM Register 5
CC5IC            0xFF82 CAPCOM Register 5 Interrupt Ctrl. Reg.
CC5IC.CC5IR           7
CC5IC.CC5IE           6
CC6              0xFE8C CAPCOM Register 6
CC6IC            0xFF84 CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IR           7
CC6IC.CC6IE           6
CC7              0xFE8E CAPCOM Register 7
CC7IC            0xFF86 CAPCOM Register 7 Interrupt Ctrl. Reg.
CC7IC.CC7IR           7
CC7IC.CC7IE           6
CC8              0xFE90 CAPCOM Register 8
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9              0xFE92 CAPCOM Register 9
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10             0xFE94 CAPCOM Register 10
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11             0xFE96 CAPCOM Register 11
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12             0xFE98 CAPCOM Register 12
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13             0xFE9A CAPCOM Register 13
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14             0xFE9C CAPCOM Register 14
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15             0xFE9E CAPCOM Register 15
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CCM0             0xFF52 CAPCOM Mode Control Register 0
CCM0.ACC0             3
CCM0.ACC1             7
CCM0.ACC2            11
CCM0.ACC3            15
CCM1             0xFF54 CAPCOM Mode Control Register 1
CCM1.ACC4             3
CCM1.ACC5             7
CCM1.ACC6            11
CCM1.ACC7            15
CCM2             0xFF56 CAPCOM Mode Control Register 2
CCM2.ACC8             3
CCM2.ACC9             7
CCM2.ACC10           11
CCM2.ACC11           15
CCM3             0xFF58 CAPCOM Mode Control Register 3
CCM3.ACC12            3
CCM3.ACC13            7
CCM3.ACC14           11
CCM3.ACC15           15
T0               0xFE50 CAPCOM Timer 0 Register
T01CON           0xFF50 CAPCOM Timer 0 and Timer 1 Ctrl. Reg.
T01CON.T1R           14
T01CON.T1M           11
T01CON.T0M            3
T01CON.T0R            6
T0IC             0xFF9C CAPCOM Timer 0 Interrupt Ctrl. Reg.
T0IC.T0IE             6
T0IC.T0IR             7
T0REL            0xFE54 CAPCOM Timer 0 Reload Register
T1               0xFE52 CAPCOM Timer 1 Register
T1IC             0xFF9E CAPCOM Timer 1 Interrupt Ctrl. Reg.
T1IC.T1IE             6
T1IC.T1IR             7
T1REL            0xFE56 CAPCOM Timer 1 Reload Register

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
PSW.ILVL0            12
PSW.ILVL1            13
PSW.ILVL2            14
PSW.ILVL3            15

SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF0C CPU System Configuration Register
SYSCON.MCTC0          0
SYSCON.MCTC1          1
SYSCON.MCTC2          2
SYSCON.MCTC3          3
SYSCON.RWDC           4
SYSCON.MTTC           5
SYSCON.BTYP0          6
SYSCON.BTYP1          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTDIS        11
SYSCON.RDYEN         12
SYSCON.STKSZ0        13
SYSCON.STKSZ1        14

TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.MCTC0         0
BUSCON1.MCTC1         1
BUSCON1.MCTC2         2
BUSCON1.MCTC3         3
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.BTYP0         6
BUSCON1.BTYP1         7
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL1.RGSZ0        0       BUSCON1 Address Range Selection
ADDRSEL1.RGSZ1        1
ADDRSEL1.RGSZ2        2
ADDRSEL1.RGSAD0       3       BUSCON1 Address Range Start Address Selection
ADDRSEL1.RGSAD1       4
ADDRSEL1.RGSAD2       5
ADDRSEL1.RGSAD3       6
ADDRSEL1.RGSAD4       7
ADDRSEL1.RGSAD5       8
ADDRSEL1.RGSAD6       9

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0              0xFF02
DP1              0xFF06
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFF0A Port 4 Direction Control Register
P0               0xFF00
P1               0xFF04
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.CLKOUT            15      System Clock Output
P3.READY             14      Ready Input
P3.WR                13      Write Strobe for External Data Memory
P3.BHE               12      Byte High Enable Control Signal for External Memory
P3.RXD0              11      Serial Channel 0 Data Input in Asynchronous Mode
P3.TXD0              10      Serial Channel 0 Data Output in Asynchronous Mode
P3.RXD1               9      Serial Channel 1 Data Input in Asynchronous Mode
P3.TXD1               8      Serial Channel 1 Data Output in Asynchronous Mode
P3.T2IN               7      Timer 2 Count / Gate / Reload / Capture Input
P3.T3IN               6      Timer 3 Count / Gate Input
P3.T4IN               5      Timer 4 Count / Gate / Reload / Capture Input
P3.T3EUD              4      Timer 3 External Up / Down Control Input
P3.T3OUT              3      Timer 3 Toggle Latch Output
P3.CAPIN              2      CAPREL Register Capture Input
P3.T6OUT              1      Timer 6 Toggle Latch Output
P3.T0IN               0      Timer 0 Count Input
P4               0xFF08 Port 4 Register (7 bits)
P4.A16                0
P4.A17                1
P5               0xFFA2 Port 5 Register (read only)
P5.AN0                0      Analog Input Channel 0
P5.AN1                1      Analog Input Channel 1
P5.AN2                2      Analog Input Channel 2
P5.AN3                3      Analog Input Channel 3
P5.AN4                4      Analog Input Channel 4
P5.AN5                5      Analog Input Channel 5
P5.AN6                6      Analog Input Channel 6
P5.AN7                7      Analog Input Channel 7
P5.AN8                8      Analog Input Channel 8
P5.AN9                9      Analog Input Channel 9

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0M0            0      ASC0 Mode Control
S0CON.S0M1            1      ASC1 Mode Control
S0CON.S0M2            2      ASC2 Mode Control
S0CON.S0STP           3      Number of Stop Bits Selection
S0CON.S0REN           4      Receiver Enable Bit. Used to Initiate Reception
S0CON.S0PEN           5      Parity Check Enable Bit
S0CON.S0FEN           6      Framing Check Enable Bit
S0CON.S0OEN           7      Overrun Check Enable Bit
S0CON.S0PE            8      Parity Error Flag
S0CON.S0FE            9      Framing Error Flag
S0CON.S0OE           10      Overrun Error Flag
S0CON.S0BRS          13      Baud Rate Selection Bit
S0CON.S0LB           14      Loop Back Mode Enable Bit
S0CON.S0R            15      ASCx Baud Rate Generator Run Bit
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S1BG             0xFEBC
S1CON            0xFFB8
S1CON.S1M0            0
S1CON.S1M1            1
S1CON.S1M2            2
S1CON.S1STP           3
S1CON.S1REN           4
S1CON.S1PEN           5
S1CON.S1FEN           6
S1CON.S1OEN           7
S1CON.S1PE            8
S1CON.S1FE            9
S1CON.S1OE           10
S1CON.S1BRS          13
S1CON.S1LB           14
S1CON.S1R            15
S1EIC            0xFF76
S1EIC.S1EIE           6
S1EIC.S1EIR           7
S1RBUF           0xFEBA
S1RIC            0xFF74
S1RIC.S1RIE           6
S1RIC.S1RIR           7
S1TBUF           0xFEB8
S1TIC            0xFF72
S1TIC.S1TIE           6
S1TIC.S1TIR           7

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5M             3
T5CON.T5UD            7
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1
;--------------------------------------------------------------------

.C167

;* A/D Converter *
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADCON.ADWR            9
ADCON.ADCIN          10
ADCON.ADCRQ          11
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
ADDAT2           0xF0A0 A/D Converter 2 Result Register

;* Timer 0, Timer 1, Timer 7, Timer 8 *
CC0              0xFE80 CAPCOM Register 0
CC0IC            0xFF78 CAPCOM Register 0 Interrupt Ctrl. Reg.
CC0IC.CC0IR           7
CC0IC.CC0IE           6
CC1              0xFE82 CAPCOM Register 1
CC1IC            0xFF7A CAPCOM Register 1 Interrupt Ctrl. Reg.
CC1IC.CC1IR           7
CC1IC.CC1IE           6
CC2              0xFE84 CAPCOM Register 2
CC2IC            0xFF7C CAPCOM Register 2 Interrupt Ctrl. Reg.
CC2IC.CC2IR           7
CC2IC.CC2IE           6
CC3              0xFE86 CAPCOM Register 3
CC3IC            0xFF7E CAPCOM Register 3 Interrupt Ctrl. Reg.
CC3IC.CC3IR           7
CC3IC.CC3IE           6
CC4              0xFE88 CAPCOM Register 4
CC4IC            0xFF80 CAPCOM Register 4 Interrupt Ctrl. Reg.
CC4IC.CC4IR           7
CC4IC.CC4IE           6
CC5              0xFE8A CAPCOM Register 5
CC5IC            0xFF82 CAPCOM Register 5 Interrupt Ctrl. Reg.
CC5IC.CC5IR           7
CC5IC.CC5IE           6
CC6              0xFE8C CAPCOM Register 6
CC6IC            0xFF84 CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IR           7
CC6IC.CC6IE           6
CC7              0xFE8E CAPCOM Register 7
CC7IC            0xFF86 CAPCOM Register 7 Interrupt Ctrl. Reg.
CC7IC.CC7IR           7
CC7IC.CC7IE           6
CC8              0xFE90 CAPCOM Register 8
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9              0xFE92 CAPCOM Register 9
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10             0xFE94 CAPCOM Register 10
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11             0xFE96 CAPCOM Register 11
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12             0xFE98 CAPCOM Register 12
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13             0xFE9A CAPCOM Register 13
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14             0xFE9C CAPCOM Register 14
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15             0xFE9E CAPCOM Register 15
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC20             0xFE68 CAPCOM Register 20
CC20IC           0xF168 CAPCOM Register 20 Interrupt Ctrl. Reg.
CC20IC.CC20IR         7
CC20IC.CC20IE         6
CC21             0xFE6A CAPCOM Register 21
CC21IC           0xF16A CAPCOM Register 21 Interrupt Ctrl. Reg.
CC21IC.CC21IR         7
CC21IC.CC21IE         6
CC22             0xFE6C CAPCOM Register 22
CC22IC           0xF16C CAPCOM Register 22 Interrupt Ctrl. Reg.
CC22IC.CC22IR         7
CC22IC.CC22IE         6
CC23             0xFE6E CAPCOM Register 23
CC23IC           0xF16E CAPCOM Register 23 Interrupt Ctrl. Reg.
CC23IC.CC23IR         7
CC23IC.CC23IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CC28             0xFE78 CAPCOM Register 28
CC28IC           0xF178 CAPCOM Register 28 Interrupt Ctrl. Reg.
CC28IC.CC28IR         7
CC28IC.CC28IE         6
CC29             0xFE7A CAPCOM Register 29
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30             0xFE7C CAPCOM Register 30
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31             0xFE7E CAPCOM Register 31
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6
CCM0             0xFF52 CAPCOM Mode Control Register 0
CCM0.ACC0             3
CCM0.ACC1             7
CCM0.ACC2            11
CCM0.ACC3            15
CCM1             0xFF54 CAPCOM Mode Control Register 1
CCM1.ACC4             3
CCM1.ACC5             7
CCM1.ACC6            11
CCM1.ACC7            15
CCM2             0xFF56 CAPCOM Mode Control Register 2
CCM2.ACC8             3
CCM2.ACC9             7
CCM2.ACC10           11
CCM2.ACC11           15
CCM3             0xFF58 CAPCOM Mode Control Register 3
CCM3.ACC12            3
CCM3.ACC13            7
CCM3.ACC14           11
CCM3.ACC15           15
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM5             0xFF24 CAPCOM Mode Control Register 5
CCM5.ACC20            3
CCM5.ACC21            7
CCM5.ACC22           11
CCM5.ACC23           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
CCM7             0xFF28 CAPCOM Mode Control Register 7
CCM7.ACC28            3
CCM7.ACC29            7
CCM7.ACC30           11
CCM7.ACC31           15
T0               0xFE50 CAPCOM Timer 0 Register
T01CON           0xFF50 CAPCOM Timer 0 and Timer 1 Ctrl. Reg.
T01CON.T0M            3
T01CON.T0R            6
T01CON.T1M           11
T01CON.T1R           14
T0IC             0xFF9C CAPCOM Timer 0 Interrupt Ctrl. Reg.
T0IC.T0IE             6
T0IC.T0IR             7
T0REL            0xFE54 CAPCOM Timer 0 Reload Register
T1               0xFE52 CAPCOM Timer 1 Register
T1IC             0xFF9E CAPCOM Timer 1 Interrupt Ctrl. Reg.
T1IC.T1IE             6
T1IC.T1IR             7
T1REL            0xFE56 CAPCOM Timer 1 Reload Register
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T7M            3
T78CON.T7R            6
T78CON.T8M           11
T78CON.T8R           14
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register
ISNC             0xF1DE
ISNC.RTCIE            0
ISNC.RTCIR            1
ISNC.PLLIE            2
ISNC.PLLIR            3

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
DP7              0xFFD2 Port 7 Direction Control Register
DP8              0xFFD6 Port 8 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T2IN               7
P3.T3IN               6
P3.T4IN               5
P3.T3EUD              4
P3.T3OUT              3
P3.CAPIN              2
P3.T6OUT              1
P3.T0IN               0
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T2EUD             15
P5.T4EUD             14
P5.T5IN              13
P5.T6IN              12
P5.T5EUD             11
P6               0xFFCC Port 6 Register (8 bits)
P7               0xFFD0 Port 7 Register (8 bits)
P8               0xFFD4 Port 8 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
ODP7             0xF1D2 Port 7 Open Drain Control Register
ODP8             0xF1D6 Port 8 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCP0          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* PWM Module *
PWMCON0          0xFF30
PWMCON0.PTR0          0
PWMCON0.PTR1          1
PWMCON0.PTR2          2
PWMCON0.PTR3          3
PWMCON0.PTI0          4
PWMCON0.PTI1          5
PWMCON0.PTI2          6
PWMCON0.PTI3          7
PWMCON0.PIE0          8
PWMCON0.PIE1          9
PWMCON0.PIE2         10
PWMCON0.PIE3         11
PWMCON0.PIR0         12
PWMCON0.PIR1         13
PWMCON0.PIR2         14
PWMCON0.PIR3         15
PWMCON1          0xFF32
PWMCON1.PEN0          0
PWMCON1.PEN1          1
PWMCON1.PEN2          2
PWMCON1.PEN3          3
PWMCON1.PM0           4
PWMCON1.PM1           5
PWMCON1.PM2           6
PWMCON1.PM3           7
PWMCON1.PB01         12
PWMCON1.PS2          14
PWMCON1.PS3          15
PW0              0xFE30 PWM Module Pulse Width Register 0
PW1              0xFE32 PWM Module Pulse Width Register 1
PW2              0xFE34 PWM Module Pulse Width Register 2
PW3              0xFE36 PWM Module Pulse Width Register 3
PWMIC            0xF17E PWM Module Interrupt Control Register
PWMIC.PWMIR           7
PWMIC.PWMIE           6
PT0              0xF030 PWM Module Up/Down Counter 0
PT1              0xF032 PWM Module Up/Down Counter 1
PT2              0xF034 PWM Module Up/Down Counter 2
PT3              0xF036 PWM Module Up/Down Counter 3
PP0              0xF038 PWM Module Period Register 0
PP1              0xF03A PWM Module Period Register 1
PP2              0xF03C PWM Module Period Register 2
PP3              0xF03E PWM Module Period Register 3

; SYSCON2 and SYSCON3 (only in some devices)
SYSCON2          0xF1D0
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1D4
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.GPT2DIS       4
SYSCON3.FMDIS         5
SYSCON3.CC1DIS        6
SYSCON3.CC2DIS        7
SYSCON3.PWMDIS        9
SYSCON3.ASC1DIS      10
SYSCON3.I2CDIS       11
SYSCON3.CAN1DIS      13
SYSCON3.CAN2DIS      14
SYSCON3.PCDDIS       15

;* X-Peripherals *
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IR           7
XP0IC.XP0IE           6
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP2IC            0xF196 Unassigned Interrupt Control Register
XP2IC.XP2IR           7
XP2IC.XP2IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6

;--------------------------------------------------------------------

.C168

;* A/D Converter *
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADCON.ADWR            9
ADCON.ADCIN          10
ADCON.ADCRQ          11
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
ADDAT2           0xF0A0 A/D Converter 2 Result Register

;* Timer 0, Timer 1, Timer 7, Timer 8 *
CC0              0xFE80 CAPCOM Register 0
CC0IC            0xFF78 CAPCOM Register 0 Interrupt Ctrl. Reg.
CC0IC.CC0IR           7
CC0IC.CC0IE           6
CC1              0xFE82 CAPCOM Register 1
CC1IC            0xFF7A CAPCOM Register 1 Interrupt Ctrl. Reg.
CC1IC.CC1IR           7
CC1IC.CC1IE           6
CC2              0xFE84 CAPCOM Register 2
CC2IC            0xFF7C CAPCOM Register 2 Interrupt Ctrl. Reg.
CC2IC.CC2IR           7
CC2IC.CC2IE           6
CC3              0xFE86 CAPCOM Register 3
CC3IC            0xFF7E CAPCOM Register 3 Interrupt Ctrl. Reg.
CC3IC.CC3IR           7
CC3IC.CC3IE           6
CC4              0xFE88 CAPCOM Register 4
CC4IC            0xFF80 CAPCOM Register 4 Interrupt Ctrl. Reg.
CC4IC.CC4IR           7
CC4IC.CC4IE           6
CC5              0xFE8A CAPCOM Register 5
CC5IC            0xFF82 CAPCOM Register 5 Interrupt Ctrl. Reg.
CC5IC.CC5IR           7
CC5IC.CC5IE           6
CC6              0xFE8C CAPCOM Register 6
CC6IC            0xFF84 CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IR           7
CC6IC.CC6IE           6
CC7              0xFE8E CAPCOM Register 7
CC7IC            0xFF86 CAPCOM Register 7 Interrupt Ctrl. Reg.
CC7IC.CC7IR           7
CC7IC.CC7IE           6
CC8              0xFE90 CAPCOM Register 8
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9              0xFE92 CAPCOM Register 9
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10             0xFE94 CAPCOM Register 10
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11             0xFE96 CAPCOM Register 11
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12             0xFE98 CAPCOM Register 12
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13             0xFE9A CAPCOM Register 13
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14             0xFE9C CAPCOM Register 14
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15             0xFE9E CAPCOM Register 15
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC20             0xFE68 CAPCOM Register 20
CC20IC           0xF168 CAPCOM Register 20 Interrupt Ctrl. Reg.
CC20IC.CC20IR         7
CC20IC.CC20IE         6
CC21             0xFE6A CAPCOM Register 21
CC21IC           0xF16A CAPCOM Register 21 Interrupt Ctrl. Reg.
CC21IC.CC21IR         7
CC21IC.CC21IE         6
CC22             0xFE6C CAPCOM Register 22
CC22IC           0xF16C CAPCOM Register 22 Interrupt Ctrl. Reg.
CC22IC.CC22IR         7
CC22IC.CC22IE         6
CC23             0xFE6E CAPCOM Register 23
CC23IC           0xF16E CAPCOM Register 23 Interrupt Ctrl. Reg.
CC23IC.CC23IR         7
CC23IC.CC23IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CC28             0xFE78 CAPCOM Register 28
CC28IC           0xF178 CAPCOM Register 28 Interrupt Ctrl. Reg.
CC28IC.CC28IR         7
CC28IC.CC28IE         6
CC29             0xFE7A CAPCOM Register 29
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30             0xFE7C CAPCOM Register 30
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31             0xFE7E CAPCOM Register 31
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6
CCM0             0xFF52 CAPCOM Mode Control Register 0
CCM0.ACC0             3
CCM0.ACC1             7
CCM0.ACC2            11
CCM0.ACC3            15
CCM1             0xFF54 CAPCOM Mode Control Register 1
CCM1.ACC4             3
CCM1.ACC5             7
CCM1.ACC6            11
CCM1.ACC7            15
CCM2             0xFF56 CAPCOM Mode Control Register 2
CCM2.ACC8             3
CCM2.ACC9             7
CCM2.ACC10           11
CCM2.ACC11           15
CCM3             0xFF58 CAPCOM Mode Control Register 3
CCM3.ACC12            3
CCM3.ACC13            7
CCM3.ACC14           11
CCM3.ACC15           15
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM5             0xFF24 CAPCOM Mode Control Register 5
CCM5.ACC20            3
CCM5.ACC21            7
CCM5.ACC22           11
CCM5.ACC23           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
CCM7             0xFF28 CAPCOM Mode Control Register 7
CCM7.ACC28            3
CCM7.ACC29            7
CCM7.ACC30           11
CCM7.ACC31           15
T0               0xFE50 CAPCOM Timer 0 Register
T01CON           0xFF50 CAPCOM Timer 0 and Timer 1 Ctrl. Reg.
T01CON.T1M           11
T01CON.T1R           14
T01CON.T0R            6
T01CON.T0M            3
T0IC             0xFF9C CAPCOM Timer 0 Interrupt Ctrl. Reg.
T0IC.T0IE             6
T0IC.T0IR             7
T0REL            0xFE54 CAPCOM Timer 0 Reload Register
T1               0xFE52 CAPCOM Timer 1 Register
T1IC             0xFF9E CAPCOM Timer 1 Interrupt Ctrl. Reg.
T1IC.T1IE             6
T1IC.T1IR             7
T1REL            0xFE56 CAPCOM Timer 1 Reload Register
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T8M           11
T78CON.T8R           14
T78CON.T7R            6
T78CON.T7M            3
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register
ISNC             0xF1DE
ISNC.RTCIE            0
ISNC.RTCIR            1
ISNC.PLLIE            2
ISNC.PLLIR            3


;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
DP7              0xFFD2 Port 7 Direction Control Register
DP8              0xFFD6 Port 8 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T2IN               7
P3.T3IN               6
P3.T4IN               5
P3.T3EUD              4
P3.T3OUT              3
P3.CAPIN              2
P3.T6OUT              1
P3.T0IN               0
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T2EUD             15
P5.T4EUD             14
P5.T5IN              13
P5.T6IN              12
P5.T5EUD             11
P6               0xFFCC Port 6 Register (8 bits)
P7               0xFFD0 Port 7 Register (8 bits)
P8               0xFFD4 Port 8 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
ODP7             0xF1D2 Port 7 Open Drain Control Register
ODP8             0xF1D6 Port 8 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCP0          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* PWM Module *
PWMCON0          0xFF30
PWMCON0.PTR0          0
PWMCON0.PTR1          1
PWMCON0.PTR2          2
PWMCON0.PTR3          3
PWMCON0.PTI0          4
PWMCON0.PTI1          5
PWMCON0.PTI2          6
PWMCON0.PTI3          7
PWMCON0.PIE0          8
PWMCON0.PIE1          9
PWMCON0.PIE2         10
PWMCON0.PIE3         11
PWMCON0.PIR0         12
PWMCON0.PIR1         13
PWMCON0.PIR2         14
PWMCON0.PIR3         15
PWMCON1          0xFF32
PWMCON1.PEN0          0
PWMCON1.PEN1          1
PWMCON1.PEN2          2
PWMCON1.PEN3          3
PWMCON1.PM0           4
PWMCON1.PM1           5
PWMCON1.PM2           6
PWMCON1.PM3           7
PWMCON1.PB01         12
PWMCON1.PS2          14
PWMCON1.PS3          15
PW0              0xFE30 PWM Module Pulse Width Register 0
PW1              0xFE32 PWM Module Pulse Width Register 1
PW2              0xFE34 PWM Module Pulse Width Register 2
PW3              0xFE36 PWM Module Pulse Width Register 3
PWMIC            0xF17E PWM Module Interrupt Control Register
PWMIC.PWMIR           7
PWMIC.PWMIE           6
PT0              0xF030 PWM Module Up/Down Counter 0
PT1              0xF032 PWM Module Up/Down Counter 1
PT2              0xF034 PWM Module Up/Down Counter 2
PT3              0xF036 PWM Module Up/Down Counter 3
PP0              0xF038 PWM Module Period Register 0
PP1              0xF03A PWM Module Period Register 1
PP2              0xF03C PWM Module Period Register 2
PP3              0xF03E PWM Module Period Register 3

; SYSCON2 and SYSCON3 (only in some devices)
SYSCON2          0xF1D0
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1D4
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.GPT2DIS       4
SYSCON3.FMDIS         5
SYSCON3.CC1DIS        6
SYSCON3.CC2DIS        7
SYSCON3.PWMDIS        9
SYSCON3.ASC1DIS      10
SYSCON3.I2CDIS       11
SYSCON3.CAN1DIS      13
SYSCON3.CAN2DIS      14
SYSCON3.PCDDIS       15

;* X-Peripherals *
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IR           7
XP0IC.XP0IE           6
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP2IC            0xF196 Unassigned Interrupt Control Register
XP2IC.XP2IR           7
XP2IC.XP2IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6

;--------------------------------------------------------------------

.C169

;* A/D Converter *
ADCIC            0xFF98 A/D Converter End of Conversion Interrupt Control Register
ADCIC.ADCIE           6
ADCIC.ADCIR           7
ADCON            0xFFA0 A/D Converter Control Register
ADCON.ADST            7
ADCON.ADBSY           8
ADCON.ADWR            9
ADCON.ADCIN          10
ADCON.ADCRQ          11
ADDAT            0xFEA0 A/D Converter Result Register
ADEIC            0xFF9A A/D Converter Overrun Error Interrupt Control Register
ADEIC.ADEIE           6
ADEIC.ADEIR           7
ADDAT2           0xF0A0 A/D Converter 2 Result Register

;* Timer 0, Timer 1, Timer 7, Timer 8 *
CC0              0xFE80 CAPCOM Register 0
CC0IC            0xFF78 CAPCOM Register 0 Interrupt Ctrl. Reg.
CC0IC.CC0IR           7
CC0IC.CC0IE           6
CC1              0xFE82 CAPCOM Register 1
CC1IC            0xFF7A CAPCOM Register 1 Interrupt Ctrl. Reg.
CC1IC.CC1IR           7
CC1IC.CC1IE           6
CC2              0xFE84 CAPCOM Register 2
CC2IC            0xFF7C CAPCOM Register 2 Interrupt Ctrl. Reg.
CC2IC.CC2IR           7
CC2IC.CC2IE           6
CC3              0xFE86 CAPCOM Register 3
CC3IC            0xFF7E CAPCOM Register 3 Interrupt Ctrl. Reg.
CC3IC.CC3IR           7
CC3IC.CC3IE           6
CC4              0xFE88 CAPCOM Register 4
CC4IC            0xFF80 CAPCOM Register 4 Interrupt Ctrl. Reg.
CC4IC.CC4IR           7
CC4IC.CC4IE           6
CC5              0xFE8A CAPCOM Register 5
CC5IC            0xFF82 CAPCOM Register 5 Interrupt Ctrl. Reg.
CC5IC.CC5IR           7
CC5IC.CC5IE           6
CC6              0xFE8C CAPCOM Register 6
CC6IC            0xFF84 CAPCOM Register 6Interrupt Ctrl. Reg.
CC6IC.CC6IR           7
CC6IC.CC6IE           6
CC7              0xFE8E CAPCOM Register 7
CC7IC            0xFF86 CAPCOM Register 7 Interrupt Ctrl. Reg.
CC7IC.CC7IR           7
CC7IC.CC7IE           6
CC8              0xFE90 CAPCOM Register 8
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9              0xFE92 CAPCOM Register 9
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10             0xFE94 CAPCOM Register 10
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11             0xFE96 CAPCOM Register 11
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12             0xFE98 CAPCOM Register 12
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13             0xFE9A CAPCOM Register 13
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14             0xFE9C CAPCOM Register 14
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15             0xFE9E CAPCOM Register 15
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6
CC16             0xFE60 CAPCOM Register 16
CC16IC           0xF160 CAPCOM Register 16 Interrupt Ctrl. Reg.
CC16IC.CC16IR         7
CC16IC.CC16IE         6
CC17             0xFE62 CAPCOM Register 17
CC17IC           0xF162 CAPCOM Register 17 Interrupt Ctrl. Reg.
CC17IC.CC17IR         7
CC17IC.CC17IE         6
CC18             0xFE64 CAPCOM Register 18
CC18IC           0xF164 CAPCOM Register 18 Interrupt Ctrl. Reg.
CC18IC.CC18IR         7
CC18IC.CC18IE         6
CC19             0xFE66 CAPCOM Register 19
CC19IC           0xF166 CAPCOM Register 19 Interrupt Ctrl. Reg.
CC19IC.CC19IR         7
CC19IC.CC19IE         6
CC20             0xFE68 CAPCOM Register 20
CC20IC           0xF168 CAPCOM Register 20 Interrupt Ctrl. Reg.
CC20IC.CC20IR         7
CC20IC.CC20IE         6
CC21             0xFE6A CAPCOM Register 21
CC21IC           0xF16A CAPCOM Register 21 Interrupt Ctrl. Reg.
CC21IC.CC21IR         7
CC21IC.CC21IE         6
CC22             0xFE6C CAPCOM Register 22
CC22IC           0xF16C CAPCOM Register 22 Interrupt Ctrl. Reg.
CC22IC.CC22IR         7
CC22IC.CC22IE         6
CC23             0xFE6E CAPCOM Register 23
CC23IC           0xF16E CAPCOM Register 23 Interrupt Ctrl. Reg.
CC23IC.CC23IR         7
CC23IC.CC23IE         6
CC24             0xFE70 CAPCOM Register 24
CC24IC           0xF170 CAPCOM Register 24 Interrupt Ctrl. Reg.
CC24IC.CC24IR         7
CC24IC.CC24IE         6
CC25             0xFE72 CAPCOM Register 25
CC25IC           0xF172 CAPCOM Register 25 Interrupt Ctrl. Reg.
CC25IC.CC25IR         7
CC25IC.CC25IE         6
CC26             0xFE74 CAPCOM Register 26
CC26IC           0xF174 CAPCOM Register 26 Interrupt Ctrl. Reg.
CC26IC.CC26IR         7
CC26IC.CC26IE         6
CC27             0xFE76 CAPCOM Register 27
CC27IC           0xF176 CAPCOM Register 27 Interrupt Ctrl. Reg.
CC27IC.CC27IR         7
CC27IC.CC27IE         6
CC28             0xFE78 CAPCOM Register 28
CC28IC           0xF178 CAPCOM Register 28 Interrupt Ctrl. Reg.
CC28IC.CC28IR         7
CC28IC.CC28IE         6
CC29             0xFE7A CAPCOM Register 29
CC29IC           0xF184 CAPCOM Register 29 Interrupt Ctrl. Reg.
CC29IC.CC29IR         7
CC29IC.CC29IE         6
CC30             0xFE7C CAPCOM Register 30
CC30IC           0xF18C CAPCOM Register 30 Interrupt Ctrl. Reg.
CC30IC.CC30IR         7
CC30IC.CC30IE         6
CC31             0xFE7E CAPCOM Register 31
CC31IC           0xF194 CAPCOM Register 31 Interrupt Ctrl. Reg.
CC31IC.CC31IR         7
CC31IC.CC31IE         6
CCM0             0xFF52 CAPCOM Mode Control Register 0
CCM0.ACC0             3
CCM0.ACC1             7
CCM0.ACC2            11
CCM0.ACC3            15
CCM1             0xFF54 CAPCOM Mode Control Register 1
CCM1.ACC4             3
CCM1.ACC5             7
CCM1.ACC6            11
CCM1.ACC7            15
CCM2             0xFF56 CAPCOM Mode Control Register 2
CCM2.ACC8             3
CCM2.ACC9             7
CCM2.ACC10           11
CCM2.ACC11           15
CCM3             0xFF58 CAPCOM Mode Control Register 3
CCM3.ACC12            3
CCM3.ACC13            7
CCM3.ACC14           11
CCM3.ACC15           15
CCM4             0xFF22 CAPCOM Mode Control Register 4
CCM4.ACC16            3
CCM4.ACC17            7
CCM4.ACC18           11
CCM4.ACC19           15
CCM5             0xFF24 CAPCOM Mode Control Register 5
CCM5.ACC20            3
CCM5.ACC21            7
CCM5.ACC22           11
CCM5.ACC23           15
CCM6             0xFF26 CAPCOM Mode Control Register 6
CCM6.ACC24            3
CCM6.ACC25            7
CCM6.ACC26           11
CCM6.ACC27           15
CCM7             0xFF28 CAPCOM Mode Control Register 7
CCM7.ACC28            3
CCM7.ACC29            7
CCM7.ACC30           11
CCM7.ACC31           15
T0               0xFE50 CAPCOM Timer 0 Register
T01CON           0xFF50 CAPCOM Timer 0 and Timer 1 Ctrl. Reg.
T01CON.T0M            3
T01CON.T0R            6
T01CON.T1M           11
T01CON.T1R           14
T0IC             0xFF9C CAPCOM Timer 0 Interrupt Ctrl. Reg.
T0IC.T0IE             6
T0IC.T0IR             7
T0REL            0xFE54 CAPCOM Timer 0 Reload Register
T1               0xFE52 CAPCOM Timer 1 Register
T1IC             0xFF9E CAPCOM Timer 1 Interrupt Ctrl. Reg.
T1IC.T1IE             6
T1IC.T1IR             7
T1REL            0xFE56 CAPCOM Timer 1 Reload Register
T7               0xF050 CAPCOM Timer 7 Register
T78CON           0xFF20 CAPCOM Timer 7 and 8 Control Register
T78CON.T7M            3
T78CON.T7R            6
T78CON.T8M           11
T78CON.T8R           14
T7IC             0xF17A CAPCOM Timer 7 Interrupt Ctrl. Reg.
T7IC.T7IE             6
T7IC.T7IR             7
T7REL            0xF054 CAPCOM Timer 7 Reload Register
T8               0xF052 CAPCOM Timer 8 Register
T8IC             0xF17C CAPCOM Timer 8 Interrupt Ctrl. Reg.
T8IC.T8IE             6
T8IC.T8IR             7
T8REL            0xF056 CAPCOM Timer 8 Reload Register

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register
ISNC             0xF1DE
ISNC.RTCIE            0
ISNC.RTCIR            1
ISNC.PLLIE            2
ISNC.PLLIR            3

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
DP7              0xFFD2 Port 7 Direction Control Register
DP8              0xFFD6 Port 8 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T0IN               0
P3.T3OUT              3
P3.CAPIN              2
P3.T6OUT              1
P3.T2IN               7
P3.T3IN               6
P3.T4IN               5
P3.T3EUD              4
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T5IN              13
P5.T6IN              12
P5.T2EUD             15
P5.T4EUD             14
P5.T5EUD             11
P6               0xFFCC Port 6 Register (8 bits)
P7               0xFFD0 Port 7 Register (8 bits)
P8               0xFFD4 Port 8 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
ODP7             0xF1D2 Port 7 Open Drain Control Register
ODP8             0xF1D6 Port 8 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15
S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
SSCTIC           0xFF72 SSC Transmit Interrupt Control Register
SSCTIC.SSCTIR         7
SSCTIC.SSCTIE         6
SSCRIC           0xFF74 SSC Receive Interrupt Control Register
SSCRIC.SSCRIR         7
SSCRIC.SSCRIE         6
SSCEIC           0xFF76 SSC Error Interrupt Control Register
SSCEIC.SSCEIR         7
SSCEIC.SSCEIE         6
SSCTB            0xF0B0 SSC Transmit Buffer
SSCRB            0xF0B2 SSC Receive Buffer
SSCBR            0xF0B4 SSC Baudrate Register
SSCCON           0xFFB2 SSC Control Register
SSCCON.SSCHB          4
SSCCON.SSCPH          5
SSCCON.SSCP0          6
SSCCON.SSCTE          8
SSCCON.SSCRE          9
SSCCON.SSCPE         10
SSCCON.SSCBE         11
SSCCON.SSCBSY        12
SSCCON.SSCMS         14
SSCCON.SSCEN         15

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* PWM Module *
PWMCON0          0xFF30
PWMCON0.PTR0          0
PWMCON0.PTR1          1
PWMCON0.PTR2          2
PWMCON0.PTR3          3
PWMCON0.PTI0          4
PWMCON0.PTI1          5
PWMCON0.PTI2          6
PWMCON0.PTI3          7
PWMCON0.PIE0          8
PWMCON0.PIE1          9
PWMCON0.PIE2         10
PWMCON0.PIE3         11
PWMCON0.PIR0         12
PWMCON0.PIR1         13
PWMCON0.PIR2         14
PWMCON0.PIR3         15
PWMCON1          0xFF32
PWMCON1.PEN0          0
PWMCON1.PEN1          1
PWMCON1.PEN2          2
PWMCON1.PEN3          3
PWMCON1.PM0           4
PWMCON1.PM1           5
PWMCON1.PM2           6
PWMCON1.PM3           7
PWMCON1.PB01         12
PWMCON1.PS2          14
PWMCON1.PS3          15
PW0              0xFE30 PWM Module Pulse Width Register 0
PW1              0xFE32 PWM Module Pulse Width Register 1
PW2              0xFE34 PWM Module Pulse Width Register 2
PW3              0xFE36 PWM Module Pulse Width Register 3
PWMIC            0xF17E PWM Module Interrupt Control Register
PWMIC.PWMIR           7
PWMIC.PWMIE           6
PT0              0xF030 PWM Module Up/Down Counter 0
PT1              0xF032 PWM Module Up/Down Counter 1
PT2              0xF034 PWM Module Up/Down Counter 2
PT3              0xF036 PWM Module Up/Down Counter 3
PP0              0xF038 PWM Module Period Register 0
PP1              0xF03A PWM Module Period Register 1
PP2              0xF03C PWM Module Period Register 2
PP3              0xF03E PWM Module Period Register 3

; SYSCON2 and SYSCON3 (only in some devices)
SYSCON2          0xF1D0
SYSCON2.RCS           6
SYSCON2.SCS           7
SYSCON2.CLKLOCK      15
SYSCON3          0xF1D4
SYSCON3.ADCDIS        0
SYSCON3.ASC0DIS       1
SYSCON3.SSCDIS        2
SYSCON3.GPT1DIS       3
SYSCON3.GPT2DIS       4
SYSCON3.FMDIS         5
SYSCON3.CC1DIS        6
SYSCON3.CC2DIS        7
SYSCON3.PWMDIS        9
SYSCON3.ASC1DIS      10
SYSCON3.I2CDIS       11
SYSCON3.CAN1DIS      13
SYSCON3.CAN2DIS      14
SYSCON3.PCDDIS       15

;* X-Peripherals *
XP0IC            0xF186 CAN1 Interrupt Control Register
XP0IC.XP0IR           7
XP0IC.XP0IE           6
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP2IC            0xF196 Unassigned Interrupt Control Register
XP2IC.XP2IR           7
XP2IC.XP2IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6

;--------------------------------------------------------------------

.ST10-272

;* CPU *
MDC              0xFF0E CPU Multiply Divide Control Register
MDC.MDRIU             4
MDH              0xFE0C CPU Multiply Divide Register - High Word
MDL              0xFE0E CPU Multiply Divide Register - Low Word
ONES             0xFF1E Constant Value 1’s Register (read only)
PSW              0xFF10 CPU Program Status Word
PSW.N                 0
PSW.C                 1
PSW.V                 2
PSW.Z                 3
PSW.E                 4
PSW.MULIP             5
PSW.USR0              6
PSW.HLDEN            10
PSW.IEN              11
SP               0xFE12 CPU System Stack Pointer Register
STKOV            0xFE14 CPU Stack Overflow Pointer Register
STKUN            0xFE16 CPU Stack Underflow Pointer Register
SYSCON           0xFF12 CPU System Configuration Register
SYSCON.WRCFG          7
SYSCON.CLKEN          8
SYSCON.BYTDIS         9
SYSCON.ROMEN         10
SYSCON.SGTEN         11
SYSCON.ROMS1         12
TFR              0xFFAC Trap Flag Register
TFR.ILLBUS            0
TFR.ILLINA            1
TFR.ILLOPA            2
TFR.PRTFLT            3
TFR.UNDOPC            7
TFR.STKUF            13
TFR.STKOF            14
TFR.NMI              15
ZEROS            0xFF1C Constant Value 0’s Register (read only)
BUSCON0          0xFF0C Bus Configuration Register 0
BUSCON0.RWDC0         4
BUSCON0.MTTC0         5
BUSCON0.ALECTL0       9
BUSCON0.BUSACT0      10
BUSCON0.RDYEN0       12
BUSCON1          0xFF14 Bus Configuration Register 1
BUSCON1.RWDC1         4
BUSCON1.MTTC1         5
BUSCON1.ALECTL1       9
BUSCON1.BUSACT1      10
BUSCON1.RDYEN1       12
BUSCON1.CSREN1       14
BUSCON1.CSWEN1       15
BUSCON2          0xFF16 Bus Configuration Register 2
BUSCON2.RWDC2         4
BUSCON2.MTTC2         5
BUSCON2.ALECTL2       9
BUSCON2.BUSACT2      10
BUSCON2.RDYEN2       12
BUSCON2.CSREN2       14
BUSCON2.CSWEN2       15
BUSCON3          0xFF18 Bus Configuration Register 3
BUSCON3.RWDC3         4
BUSCON3.MTTC3         5
BUSCON3.ALECTL3       9
BUSCON3.BUSACT3      10
BUSCON3.RDYEN3       12
BUSCON3.CSREN3       14
BUSCON3.CSWEN3       15
BUSCON4          0xFF1A Bus Configuration Register 4
BUSCON4.RWDC4         4
BUSCON4.MTTC4         5
BUSCON4.ALECTL4       9
BUSCON4.BUSACT4      10
BUSCON4.RDYEN4       12
BUSCON4.CSREN4       14
BUSCON4.CSWEN4       15
ADDRSEL1         0xFE18 Address Select Register 1
ADDRSEL2         0xFE1A Address Select Register 2
ADDRSEL3         0xFE1C Address Select Register 3
ADDRSEL4         0xFE1E Address Select Register 4
EXICON           0xF1C0 External Interrupt Control Register

;* PEC *
PECC0            0xFEC0 PEC Channel 0 Control Register
PECC1            0xFEC2 PEC Channel 1 Control Register
PECC2            0xFEC4 PEC Channel 2 Control Register
PECC3            0xFEC6 PEC Channel 3 Control Register
PECC4            0xFEC8 PEC Channel 4 Control Register
PECC5            0xFECA PEC Channel 5 Control Register
PECC6            0xFECC PEC Channel 6 Control Register
PECC7            0xFECE PEC Channel 7 Control Register

;* I/O Ports *
DP0L             0xF100 P0L Direction Control Register
DP0H             0xF102 P0H Direction Control Register
DP1L             0xF104 P1L Direction Control Register
DP1H             0xF106 P1H Direction Control Register
DP2              0xFFC2 Port 2 Direction Control Register
DP3              0xFFC6 Port 3 Direction Control Register
DP4              0xFFCA Port 4 Direction Control Register
DP6              0xFFCE Port 6 Direction Control Register
DP7              0xFFD2 Port 7 Direction Control Register
P0L              0xFF00 Port 0 Low Register (Lower half of PORT0)
P0H              0xFF02 Port 0 High Register (Upper half of PORT0)
P1L              0xFF04 Port 1 Low Register (Lower half of PORT1)
P1H              0xFF06 Port 1 High Register (Upper half of PORT1)
P2               0xFFC0 Port 2 Register
P3               0xFFC4 Port 3 Register
P3.T0IN               0
P3.T6OUT              1
P3.CAPIN              2
P3.T3OUT              3
P3.T3EUD              4
P3.T4IN               5
P3.T3IN               6
P3.T2IN               7
P4               0xFFC8 Port 4 Register (7 bits)
P5               0xFFA2 Port 5 Register (read only)
P5.T5IN              13
P5.T6IN              12
P5.T2EUD             15
P5.T4EUD             14
P5.T5EUD             11
P5.T6EUD             10
P6               0xFFCC Port 6 Register (8 bits)
P7               0xFFD0 Port 7 Register (8 bits)
ODP2             0xF1C2 Port 2 Open Drain Control Register
ODP3             0xF1C6 Port 3 Open Drain Control Register
ODP6             0xF1CE Port 6 Open Drain Control Register
ODP7             0xF1D2 Port 7 Open Drain Control Register
RP0H             0xF108 System Startup Configuration Register (read only)

;* Serial Interface *
S0BG             0xFEB4 Serial Channel 0 Baud Rate Generator Reload Register
S0CON            0xFFB0 Serial Channel 0 Control Register
S0CON.S0STP           3
S0CON.S0REN           4
S0CON.S0PEN           5
S0CON.S0FEN           6
S0CON.S0OEN           7
S0CON.S0PE            8
S0CON.S0FE            9
S0CON.S0OE           10
S0CON.S0ODD          12
S0CON.S0BRS          13
S0CON.S0LB           14
S0CON.S0R            15

S0EIC            0xFF70 Serial Channel 0 Error Interrupt Ctrl. Reg.
S0EIC.S0EIE           6
S0EIC.S0EIR           7
S0RBUF           0xFEB2 Serial Channel 0 Receive Buffer Register (read only)
S0RIC            0xFF6E Serial Channel 0 Receive Interrupt Control Register
S0RIC.S0RIE           6
S0RIC.S0RIR           7
S0TBUF           0xFEB0 Serial Channel 0 Transmit Buffer Register
S0TIC            0xFF6C Serial Channel 0 Transmit Interrupt Control Register
S0TIC.S0TIE           6
S0TIC.S0TIR           7
S0TBIC           0xF19C Serial Channel 0 Transmit Buffer Interrupt Control Register
S0TBIC.S0TBIE         6
S0TBIC.S0TBIR         7

;* GPT1, GPT2 *
CAPREL           0xFE4A GPT2 Capture/Reload Register
CRIC             0xFF6A GPT2 CAPREL Interrupt Control Register
CRIC.CRIE             6
CRIC.CRIR             7
T2               0xFE40 GPT1 Timer 2 Register
T2CON            0xFF40 GPT1 Timer 2 Control Register
T2CON.T2R             6
T2CON.T2UD            7
T2CON.T2UDE           8
T2IC             0xFF60 GPT1 Timer 2 Interrupt Control Register
T2IC.T2IE             6
T2IC.T2IR             7
T3               0xFE42 GPT1 Timer 3 Register
T3CON            0xFF42 GPT1 Timer 3 Control Register
T3CON.T3R             6
T3CON.T3UD            7
T3CON.T3UDE           8
T3CON.T3OE            9
T3CON.T3OTL          10
T3IC             0xFF62 GPT1 Timer 3 Interrupt Control Register
T3IC.T3IE             6
T3IC.T3IR             7
T4               0xFE44 GPT1 Timer 4 Register
T4CON            0xFF44 GPT1 Timer 4 Control Register
T4CON.T4R             6
T4CON.T4UD            7
T4CON.T4UDE           8
T4IC             0xFF64 GPT1 Timer 4 Interrupt Control Register
T4IC.T4IE             6
T4IC.T4IR             7
T5               0xFE46 GPT2 Timer 5 Register
T5CON            0xFF46 GPT2 Timer 5 Control Register
T5CON.T5R             6
T5CON.T5UD            7
T5CON.T5UDE           8
T5CON.T5CLR          14
T5CON.T5SC           15
T5IC             0xFF66 GPT2 Timer 5 Interrupt Control Register
T5IC.T5IE             6
T5IC.T5IR             7
T6               0xFE48 GPT2 Timer 6 Register
T6CON            0xFF48 GPT2 Timer 6 Control Register
T6CON.T6R             6
T6CON.T6UD            7
T6CON.T6UDE           8
T6CON.T6OE            9
T6CON.T6OTL          10
T6CON.T6SR           15
T6IC             0xFF68 GPT2 Timer 6 Interrupt Control Register
T6IC.T6IE             6
T6IC.T6IR             7
WDT              0xFEAE Watchdog Timer Register (read only)
WDTCON           0xFFAE Watchdog Timer Control Register
WDTCON.WDTIN          0
WDTCON.WDTR           1

;* External Interrupts *
CC8IC            0xFF88 CAPCOM Register 8 Interrupt Ctrl. Reg.
CC8IC.CC8IR           7
CC8IC.CC8IE           6
CC9IC            0xFF8A CAPCOM Register 9 Interrupt Ctrl. Reg.
CC9IC.CC9IR           7
CC9IC.CC9IE           6
CC10IC           0xFF8C CAPCOM Register 10 Interrupt Ctrl. Reg.
CC10IC.CC10IR         7
CC10IC.CC10IE         6
CC11IC           0xFF8E CAPCOM Register 11 Interrupt Ctrl. Reg.
CC11IC.CC11IR         7
CC11IC.CC11IE         6
CC12IC           0xFF90 CAPCOM Register 12 Interrupt Ctrl. Reg.
CC12IC.CC12IR         7
CC12IC.CC12IE         6
CC13IC           0xFF92 CAPCOM Register 13 Interrupt Ctrl. Reg.
CC13IC.CC13IR         7
CC13IC.CC13IE         6
CC14IC           0xFF94 CAPCOM Register 14 Interrupt Ctrl. Reg.
CC14IC.CC14IR         7
CC14IC.CC14IE         6
CC15IC           0xFF96 CAPCOM Register 15 Interrupt Ctrl. Reg.
CC15IC.CC15IR         7
CC15IC.CC15IE         6

;* X-Peripherals *
XP1IC            0xF18E Unassigned Interrupt Control Register
XP1IC.XP1IR           7
XP1IC.XP1IE           6
XP3IC            0xF19E PLL/OWD Interrupt Control Register
XP3IC.XP3IR           7
XP3IC.XP3IE           6

; CHIP INFORMATION REGISTER
IDCHIP           0xF07C
IDMANUF          0xF07E
IDMEM            0xF07A
IDPROG           0xF078

; MAC UNIT
IDX0             0xFF08
IDX1             0xFF0A
MAH              0xFE5E
MAL              0xFE5C
MCW              0xFFDC
MRW              0xFFDA
MSW              0xFFDE
QR0              0xF004
QR1              0xF006
QX0              0xF000
QX1              0xF002

;* PWM Module *
PWMCON0          0xFF30
PWMCON0.PTR0          0
PWMCON0.PTR1          1
PWMCON0.PTR2          2
PWMCON0.PTR3          3
PWMCON0.PTI0          4
PWMCON0.PTI1          5
PWMCON0.PTI2          6
PWMCON0.PTI3          7
PWMCON0.PIE0          8
PWMCON0.PIE1          9
PWMCON0.PIE2         10
PWMCON0.PIE3         11
PWMCON0.PIR0         12
PWMCON0.PIR1         13
PWMCON0.PIR2         14
PWMCON0.PIR3         15
PWMCON1          0xFF32
PWMCON1.PEN0          0
PWMCON1.PEN1          1
PWMCON1.PEN2          2
PWMCON1.PEN3          3
PWMCON1.PM0           4
PWMCON1.PM1           5
PWMCON1.PM2           6
PWMCON1.PM3           7
PWMCON1.PB01         12
PWMCON1.PS2          14
PWMCON1.PS3          15
PW0              0xFE30 PWM Module Pulse Width Register 0
PW1              0xFE32 PWM Module Pulse Width Register 1
PW2              0xFE34 PWM Module Pulse Width Register 2
PW3              0xFE36 PWM Module Pulse Width Register 3
PWMIC            0xF17E PWM Module Interrupt Control Register
PWMIC.PWMIR           7
PWMIC.PWMIE           6
PT0              0xF030 PWM Module Up/Down Counter 0
PT1              0xF032 PWM Module Up/Down Counter 1
PT2              0xF034 PWM Module Up/Down Counter 2
PT3              0xF036 PWM Module Up/Down Counter 3
PP0              0xF038 PWM Module Period Register 0
PP1              0xF03A PWM Module Period Register 1
PP2              0xF03C PWM Module Period Register 2
PP3              0xF03E PWM Module Period Register 3


