
/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/EPSETUP/ABIREG51.H__   1.0.1.1.1.5   17 Apr 1997 16:21:44   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/EPSETUP/ABIREG51.H__  $
** 
**    Rev 1.0.1.1.1.5   17 Apr 1997 16:21:44   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.4   16 Apr 1997 11:02:30   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.3   10 Apr 1997 15:53:24   ZJRD
** 2.09F
** 
**    Rev 1.0.1.1.1.1   03 Apr 1997 15:31:56   ZJRD
** No change.
** 
**    Rev 1.0.1.1.1.0   28 Mar 1997 10:35:54   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.0.1.0   19 Mar 1997 11:46:00   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:59:36   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:23:50   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.7.1.0.1.0   11 Nov 1996 13:03:58   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.7.1.4   09 Sep 1996 13:48:20   ZJRD
** No change.
** 
**    Rev 1.7.1.3   05 Sep 1996 11:38:56   ZJRD
** No change.
** 
**    Rev 1.7.1.2   02 Sep 1996 10:03:36   ZJRD
** No change.
** 
**    Rev 1.7.1.1   28 Aug 1996 15:56:44   ZJRD
** No change.
** 
**    Rev 1.7.1.0   12 Aug 1996 11:03:40   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.5   05 Jun 1996 15:00:24   ZJRD
** No change.
** 
**    Rev 1.4   29 May 1996 09:41:56   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:11:30   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:19:30   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:33:44   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.6   18 Apr 1996 13:06:38   Shirley
** No change.
** 
**    Rev 1.5   12 Apr 1996 10:45:46   Shirley
** EasyPack/SLD Version 1.90
** 
**    Rev 1.3   15 Feb 1996 09:00:54   Shirley
** No change.
** 
**    Rev 1.2   12 Feb 1996 14:12:56   Shirley
** No change.
** 
**    Rev 1.1   06 Feb 1996 15:39:08   Shirley
** No change.
** 
**    Rev 1.0   06 Feb 1996 13:53:36   Shirley
** Initial revision.
** 
**    Rev 1.24   01 Feb 1996 10:15:24   Shirley
** No change.
** 
**    Rev 1.23   26 Jan 1996 09:18:48   Shirley
** No change.
** 
**    Rev 1.22   25 Jan 1996 13:18:42   Shirley
** No change.
** 
**    Rev 1.21   24 Jan 1996 10:34:54   Shirley
** No change.
** 
**    Rev 1.20   23 Jan 1996 11:25:42   Shirley
** No change.
** 
**    Rev 1.19   18 Jan 1996 10:07:48   Shirley
** No change.
** 
**    Rev 1.18   15 Jan 1996 16:16:40   Shirley
** No change.
** 
**    Rev 1.17   04 Jan 1996 11:08:46   Shirley
** No change.
** 
**    Rev 1.16   30 Nov 1995 09:11:28   Shirley
** No change.
** 
**    Rev 1.15   28 Nov 1995 15:32:08   Shirley
** No change.
** 
**    Rev 1.14   21 Nov 1995 11:18:58   Shirley
** No change.
** 
**    Rev 1.13   13 Nov 1995 09:23:10   Shirley
** No change.
** 
**    Rev 1.12   12 Nov 1995 11:34:06   Shirley
** No change.
** 
**    Rev 1.11   08 Nov 1995 16:34:34   Shirley
** No change.
** 
**    Rev 1.10   08 Nov 1995 12:44:28   Shirley
** No change.
** 
**    Rev 1.9   02 Nov 1995 10:05:56   Shirley
** No change.
** 
**    Rev 1.8   27 Oct 1995 16:48:06   Shirley
** No change.
** 
**    Rev 1.7   27 Oct 1995 13:46:10   Shirley
** No change.
** 
**    Rev 1.6   25 Oct 1995 14:30:20   Shirley
** No change.
** 
**    Rev 1.5   18 Oct 1995 14:51:44   Shirley
** No change.
** 
**    Rev 1.4   13 Oct 1995 13:18:14   Shirley
** No change.
** 
**    Rev 1.3   29 Sep 1995 09:47:38   Shirley
** EasyPack/SLD Version 0.1c
** 
**    Rev 1.2   20 Sep 1995 10:52:24   Shirley
** No change.
** 
**    Rev 1.1   15 Sep 1995 09:43:28   Shirley
** No change.
** 
**    Rev 1.0   07 Sep 1995 09:53:16   Shirley
** Initial revision.
**
****************************************************************************/

/***************************************************************************
**
** File name : abireg51.h
**
** Description: 
**
**
** Programmer: Frank Chang
**
**    Copyright (C) 1995 Microtek International, Inc.
**    All Rights Reserved
**
****************************************************************************/
#ifndef _ABIREG_
#define _ABIREG_

    enum CPU_MODULE_LIST {
        EP8031      =00,    //x
        EP8051    ,//=01      x
        EP8032    ,//=02      x
        EP8052    ,//=03      x
        EP80154   ,//=04      x
        EP85154   ,//=05      x
        EP8344    ,//=06      x
        EP8044    ,//=07      x

        EP80152A  ,//=08
        EP83152A  ,//=09
        EP80152B  ,//=10
        EP83152B  ,//=11
        EP80152C  ,//=12
        EP83152C  ,//=13
        EP80152D  ,//=14
        EP83152D  ,//=15

        EP8051FA  ,//=16      x
        EP8351FA  ,//=17      x
        EP80C552  ,//=18      x
        EP83C552  ,//=19      x
        EP80C562  ,//=20
        EP83C562  ,//=21
        EP80C752  ,//=22      x
        EP83C752  ,//=23      x

        EP80C652  ,//=24      x
        EP83C652  ,//=25      x
        EP80C528  ,//=26      x
        EP83C528  ,//=27      x
        EP80C550  ,//=28
        EP83C550  ,//=29
        EP80C575  ,//=30
        EP83C575  ,//=31

        EP80C592  ,//=32
        EP83C592  ,//=33
        EP80CL31  ,//=34
        EP80CL51  ,//=35
        EP80C451  ,//=36
        EP83C451  ,//=37
        EP80C750  ,//=38       x
        EP83C750  ,//=39       x

        EP80C751  ,//=40       x
        EP83C751  ,//=41       x
        EP80CL410 ,//=42
        EP83CL410 ,//=43
        EP80CL781 ,//=44
        EP83CL781 ,//=45
        EP80CL782 ,//=46
        EP85CL782 ,//=47

        EP80CL580 ,//=48
        EP85CL580 ,//=49
        MAX_CPU_MODULE
    };

    enum COMMON_REG {
        REG_PC=0, REG_DPTR,REG_ACC,REG_B,   REG_SP,   REG_PSW,
        REG_R0,   REG_R1,  REG_R2, REG_R3,  REG_R4,   REG_R5,
        REG_R6,   REG_R7
    }; 
    
/*****
    enum REG_8031_8051 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,               REG_IP,
        REG_SCON,   REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_8031
    };

    enum REG_8032_8052 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_T2CON,  REG_IP,
        REG_SCON,   REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,
        REG_TH2,    REG_TL2,    REG_RCAP2H, REG_RCAP2L,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_8032
    };

    enum REG_80154 { //( 83154 isn't supported by EASYPACK )
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_T2CON,  REG_IP,
        REG_SCON,   REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,
        REG_TH2,    REG_TL2,    REG_RCAP2H, REG_RCAP2L, REG_IOCON,  REG_PCON,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_80154
    };

    enum REG_8344 { //( 8044 isn't supported by EASYPACK )
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_IP,     REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,
        REG_TL1,    REG_SMD,    REG_STS,    REG_NSNR,   REG_STAD,
        REG_TBS,    REG_TBL,    REG_TCB,    REG_RBS,    REG_RBL,    REG_RFL,
        REG_RCB,    REG_DMACNT, REG_FIFOL,  REG_FIFOM,  REG_FIFOH,  REG_SIUST,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_8344
    };

    enum REG_8051FA { // 8351FA isn't supported by EASYPACK
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_T2CON,  REG_IP,     REG_SCON,   REG_TMOD,   REG_TH0,
        REG_TL0,    REG_TH1,    REG_TL1,    REG_CCON,   REG_CH,     REG_CL,
        REG_CMOD,
        REG_CCAP0H, REG_CCAP1H, REG_CCAP2H, REG_CCAP3H, REG_CCAP4H,
        REG_CCAP0L, REG_CCAP1L, REG_CCAP2L, REG_CCAP3L, REG_CCAP4L,
        REG_CCAPM0, REG_CCAPM1, REG_CCAPM2, REG_CCAPM3, REG_CCAPM4,
        REG_RCAP2H, REG_RCAP2L, REG_SADDR,  REG_SADEN,
        REG_T2MOD,  REG_TH2,    REG_TL2,    REG_PCON,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_8051FA
    };

    enum REG_80652_83652 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_IP,     REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,
        REG_TL1,    REG_S0CON,  REG_S1CON,  REG_S1STA,  REG_S1ADR,  REG_PCON,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_80652
    };

    enum REG_80528_83528 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_T2CON,  REG_IP,     REG_SCON,   REG_TMOD,
        REG_TH0,    REG_TL0,    REG_TH1,    REG_TL1,    REG_TH2,    REG_TL2,
        REG_RCAP2H, REG_RCAP2L, REG_WDCON,  REG_S1SCS,  REG_S1BIT,  REG_S1INT,
        REG_T3,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_80528
    };

    enum REG_80552_83552 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_IP0,    REG_TMOD,   REG_TH0,    REG_TL0,    REG_TH1,
        REG_TL1,    REG_IEN1,   REG_IP1,    REG_PWM0,   REG_PWM1,   REG_PWMP,
        REG_RTE,    REG_S0CON,  REG_S1CON,  REG_S1STA,  REG_S1ADR,  REG_STE,
        REG_TM2CON, REG_TM2IR,  REG_TMH2,   REG_TML2,   REG_CMH0,   REG_CML0,
        REG_CMH1,   REG_CML1,   REG_CMH2,   REG_CML2,   REG_ADCH,   REG_ADCON,
        REG_CTCON,  REG_CTH0,   REG_CTL0,   REG_CTH1,   REG_CTL1,   REG_CTH2,
        REG_CTL2,   REG_CTH3,   REG_CTL3,   REG_PCON,   REG_T3,
        REG_P0,     REG_P1,     REG_P2,     REG_P3,
        MAX_REG_80552
    };

    enum REG_80752_83752 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_TH,     REG_TL,     REG_ADCON,  REG_ADAT,   REG_I2CFG,
        REG_I2CON,  REG_I2DAT,  REG_I2STA,  REG_PWCM,   REG_PWENA,  REG_PWMP,
        REG_RTH,    REG_RTL,    REG_PCON,
        REG_P0,     REG_P1,     REG_P3
        MAX_REG_80752
    };

    enum REG_80751_83751 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_TH,     REG_TL,     REG_I2CFG,  REG_I2CON,  REG_I2DAT,
        REG_I2STA,  REG_RTH,    REG_RTL,    REG_PCON,
        REG_P0,     REG_P1,     REG_P3
        MAX_REG_80751
    };

    enum REG_80750_83750 {
        REG_IE      = REG_R7 + 1,
        REG_TCON,   REG_TH,     REG_TL,     REG_RTH,    REG_RTL,    REG_PCON,
        REG_P0,     REG_P1,     REG_P3
        MAX_REG_80750
    };
*****/

#endif
