		LIST
;ms32f7362.inc    Standard Header File, Version 1.00 by Sinomcu
		NOLIST

;==========================================================================
;
;	Verify Processor
;
;==========================================================================

;	IFNDEF __32P7362
;		MESSG "Processor-header file mismatch.  Verify selected processor."
;	ENDIF

;==========================================================================
;
;	Register Definitions
;
;==========================================================================

;----- Register Files ---------------------------------------------------

INDF0     		EQU		H'0180'
INDF1     		EQU		H'0181'
INDF2     		EQU		H'0182'
HIBYTE    		EQU		H'0183'
FSR0      		EQU		H'0184'
FSR1      		EQU		H'0185'
PCL       		EQU		H'0186'
PFLAG     		EQU		H'0187'
MCR       		EQU		H'0188'
INDF3     		EQU		H'0189'
INTE0     		EQU		H'018A'
INTF0     		EQU		H'018B'
OSCMR     		EQU		H'018C'
INTE1     		EQU		H'018E'
INTF1     		EQU		H'018F'
IOP0      		EQU		H'0190'
OEP0      		EQU		H'0191'
PUP0      		EQU		H'0192'
PDP0      		EQU		H'0193'
IOP1      		EQU		H'0194'
OEP1      		EQU		H'0195'
PUP1      		EQU		H'0196'
PDP1      		EQU		H'0197'
IOP2      		EQU		H'0198'
OEP2      		EQU		H'0199'
PUP2      		EQU		H'019A'
PDP2      		EQU		H'019B'
P1KBCR    		EQU		H'019C'
P2KBCR    		EQU		H'019D'
LVDCR     		EQU		H'019F'
T0CR      		EQU		H'01A0'
T0CNT     		EQU		H'01A1'
T0LOAD    		EQU		H'01A2'
HIRCCAL   		EQU		H'01A5'
DBGCR     		EQU		H'01A6'
DBGPR     		EQU		H'01A7'
T1CR0     		EQU		H'01A8'
T1CR1     		EQU		H'01A9'
T1CNTH    		EQU		H'01AA'
T1CNTL    		EQU		H'01AB'
T1LOADH   		EQU		H'01AC'
T1LOADL   		EQU		H'01AD'
T2CR      		EQU		H'01B0'
T2CNT     		EQU		H'01B1'
T2LOAD    		EQU		H'01B2'
T2DATA    		EQU		H'01B3'
T2DATB    		EQU		H'01B4'
T2DATC    		EQU		H'01B5'
PWM2CR0   		EQU		H'01B6'
PWM2CR1   		EQU		H'01B7'
PWM2CR2   		EQU		H'01B8'
EECR      		EQU		H'01C3'
EEPR      		EQU		H'01C4'
EEAR      		EQU		H'01C5'
EEDRH     		EQU		H'01C6'
EEDRL     		EQU		H'01C7'
ADCR0     		EQU		H'01C8'
ADCR1     		EQU		H'01C9'
ADRH      		EQU		H'01CA'
ADRL      		EQU		H'01CB'
OSADJCR   		EQU		H'01CC'
P0ADCR    		EQU		H'01CD'
P1ADCR    		EQU		H'01CE'
P2ADCR    		EQU		H'01CF'
OPCR0     		EQU		H'01D0'
OPCR1     		EQU		H'01D1'
OPCR2     		EQU		H'01D2'
OP0VRH    		EQU		H'01D3'
OP0VRL    		EQU		H'01D4'
OP1VRH    		EQU		H'01D5'
OP1VRL    		EQU		H'01D6'
OP2CLR    		EQU		H'01D7'
URTCR0    		EQU		H'01D8'
URTCR1    		EQU		H'01D9'
URTCR2    		EQU		H'01DA'
URTSR     		EQU		H'01DB'
URTBR     		EQU		H'01DC'
URTDR     		EQU		H'01DD'
URTAR     		EQU		H'01DE'
URTMR     		EQU		H'01DF'

;----- INDF0 Bits ---------------------------------------------------

#define 	INDF00    	INDF0,0
#define 	INDF01    	INDF0,1
#define 	INDF02    	INDF0,2
#define 	INDF03    	INDF0,3
#define 	INDF04    	INDF0,4
#define 	INDF05    	INDF0,5
#define 	INDF06    	INDF0,6
#define 	INDF07    	INDF0,7

;----- INDF1 Bits ---------------------------------------------------

#define 	INDF10    	INDF1,0
#define 	INDF11    	INDF1,1
#define 	INDF12    	INDF1,2
#define 	INDF13    	INDF1,3
#define 	INDF14    	INDF1,4
#define 	INDF15    	INDF1,5
#define 	INDF16    	INDF1,6
#define 	INDF17    	INDF1,7

;----- INDF2 Bits ---------------------------------------------------

#define 	INDF20    	INDF2,0
#define 	INDF21    	INDF2,1
#define 	INDF22    	INDF2,2
#define 	INDF23    	INDF2,3
#define 	INDF24    	INDF2,4
#define 	INDF25    	INDF2,5
#define 	INDF26    	INDF2,6
#define 	INDF27    	INDF2,7

;----- HIBYTE Bits ---------------------------------------------------

#define 	HIBYTE0   	HIBYTE,0
#define 	HIBYTE1   	HIBYTE,1
#define 	HIBYTE2   	HIBYTE,2
#define 	HIBYTE3   	HIBYTE,3
#define 	HIBYTE4   	HIBYTE,4
#define 	HIBYTE5   	HIBYTE,5
#define 	HIBYTE6   	HIBYTE,6
#define 	HIBYTE7   	HIBYTE,7

;----- FSR0 Bits ---------------------------------------------------

#define 	FSR00     	FSR0,0
#define 	FSR01     	FSR0,1
#define 	FSR02     	FSR0,2
#define 	FSR03     	FSR0,3
#define 	FSR04     	FSR0,4
#define 	FSR05     	FSR0,5
#define 	FSR06     	FSR0,6
#define 	FSR07     	FSR0,7

;----- FSR1 Bits ---------------------------------------------------

#define 	FSR10     	FSR1,0
#define 	FSR11     	FSR1,1
#define 	FSR12     	FSR1,2
#define 	FSR13     	FSR1,3
#define 	FSR14     	FSR1,4
#define 	FSR15     	FSR1,5
#define 	FSR16     	FSR1,6
#define 	FSR17     	FSR1,7

;----- PCL Bits ---------------------------------------------------

#define 	PC0       	PCL,0
#define 	PC1       	PCL,1
#define 	PC2       	PCL,2
#define 	PC3       	PCL,3
#define 	PC4       	PCL,4
#define 	PC5       	PCL,5
#define 	PC6       	PCL,6
#define 	PC7       	PCL,7

;----- PFLAG Bits ---------------------------------------------------

#define 	C         	PFLAG,0
#define 	DC        	PFLAG,1
#define 	Z         	PFLAG,2

;----- MCR Bits ---------------------------------------------------

#define 	INT0M0    	MCR,0
#define 	INT0M1    	MCR,1
#define 	INT1M0    	MCR,2
#define 	INT1M1    	MCR,3
#define 	PD        	MCR,4
#define 	TO        	MCR,5
#define 	GIE       	MCR,7

;----- INDF3 Bits ---------------------------------------------------

#define 	INDF30    	INDF3,0
#define 	INDF31    	INDF3,1
#define 	INDF32    	INDF3,2
#define 	INDF33    	INDF3,3
#define 	INDF34    	INDF3,4
#define 	INDF35    	INDF3,5
#define 	INDF36    	INDF3,6
#define 	INDF37    	INDF3,7

;----- INTE0 Bits ---------------------------------------------------

#define 	T0IE      	INTE0,0
#define 	T1IE      	INTE0,1
#define 	INT0IE    	INTE0,2
#define 	INT1IE    	INTE0,3
#define 	KBIE      	INTE0,4
#define 	T2IE      	INTE0,5
#define 	ADIE      	INTE0,6
#define 	LVDIE     	INTE0,7

;----- INTF0 Bits ---------------------------------------------------

#define 	T0IF      	INTF0,0
#define 	T1IF      	INTF0,1
#define 	INT0IF    	INTF0,2
#define 	INT1IF    	INTF0,3
#define 	KBIF      	INTF0,4
#define 	T2IF      	INTF0,5
#define 	ADIF      	INTF0,6
#define 	LVDIF     	INTF0,7

;----- OSCMR Bits ---------------------------------------------------

#define 	HFEN      	OSCMR,0
#define 	LFEN      	OSCMR,1
#define 	CLKS      	OSCMR,2
#define 	STBH      	OSCMR,4
#define 	STBL      	OSCMR,5

;----- INTE1 Bits ---------------------------------------------------

#define 	OP2IE     	INTE1,0
#define 	T1CIE     	INTE1,2
#define 	RXIE      	INTE1,3
#define 	TXIE      	INTE1,4
#define 	TXBIE     	INTE1,5

;----- INTF1 Bits ---------------------------------------------------

#define 	OP2IF     	INTF1,0
#define 	T1CIF     	INTF1,2
#define 	RXIF      	INTF1,3
#define 	TXIF      	INTF1,4
#define 	TXBIF     	INTF1,5

;----- IOP0 Bits ---------------------------------------------------

#define 	P00D      	IOP0,0
#define 	P01D      	IOP0,1
#define 	P02D      	IOP0,2

;----- OEP0 Bits ---------------------------------------------------

#define 	P00OE     	OEP0,0
#define 	P01OE     	OEP0,1
#define 	P02OE     	OEP0,2

;----- PUP0 Bits ---------------------------------------------------

#define 	P00PU     	PUP0,0
#define 	P01PU     	PUP0,1
#define 	P02PU     	PUP0,2

;----- PDP0 Bits ---------------------------------------------------

#define 	P00PD     	PDP0,0
#define 	P01PD     	PDP0,1
#define 	P02PD     	PDP0,2

;----- IOP1 Bits ---------------------------------------------------

#define 	P10D      	IOP1,0
#define 	P11D      	IOP1,1
#define 	P12D      	IOP1,2
#define 	P13D      	IOP1,3
#define 	P14D      	IOP1,4
#define 	P15D      	IOP1,5

;----- OEP1 Bits ---------------------------------------------------

#define 	P10OE     	OEP1,0
#define 	P11OE     	OEP1,1
#define 	P12OE     	OEP1,2
#define 	P13OE     	OEP1,3
#define 	P14OE     	OEP1,4
#define 	P15OE     	OEP1,5

;----- PUP1 Bits ---------------------------------------------------

#define 	P10PU     	PUP1,0
#define 	P11PU     	PUP1,1
#define 	P12PU     	PUP1,2
#define 	P13PU     	PUP1,3
#define 	P14PU     	PUP1,4
#define 	P15PU     	PUP1,5

;----- PDP1 Bits ---------------------------------------------------

#define 	P10PD     	PDP1,0
#define 	P11PD     	PDP1,1
#define 	P12PD     	PDP1,2
#define 	P13PD     	PDP1,3
#define 	P14PD     	PDP1,4
#define 	P15PD     	PDP1,5

;----- IOP2 Bits ---------------------------------------------------

#define 	P20D      	IOP2,0
#define 	P21D      	IOP2,1
#define 	P22D      	IOP2,2
#define 	P23D      	IOP2,3
#define 	P24D      	IOP2,4
#define 	P25D      	IOP2,5

;----- OEP2 Bits ---------------------------------------------------

#define 	P20OE     	OEP2,0
#define 	P21OE     	OEP2,1
#define 	P22OE     	OEP2,2
#define 	P23OE     	OEP2,3
#define 	P24OE     	OEP2,4
#define 	P25OE     	OEP2,5

;----- PUP2 Bits ---------------------------------------------------

#define 	P20PU     	PUP2,0
#define 	P21PU     	PUP2,1
#define 	P22PU     	PUP2,2
#define 	P23PU     	PUP2,3
#define 	P24PU     	PUP2,4
#define 	P25PU     	PUP2,5

;----- PDP2 Bits ---------------------------------------------------

#define 	P20PD     	PDP2,0
#define 	P21PD     	PDP2,1
#define 	P22PD     	PDP2,2
#define 	P23PD     	PDP2,3
#define 	P24PD     	PDP2,4
#define 	P25PD     	PDP2,5

;----- P1KBCR Bits ---------------------------------------------------

#define 	P10KE     	P1KBCR,0
#define 	P11KE     	P1KBCR,1
#define 	P12KE     	P1KBCR,2
#define 	P13KE     	P1KBCR,3
#define 	P14KE     	P1KBCR,4
#define 	P15KE     	P1KBCR,5

;----- P2KBCR Bits ---------------------------------------------------

#define 	P20KE     	P2KBCR,0
#define 	P21KE     	P2KBCR,1
#define 	P22KE     	P2KBCR,2
#define 	P23KE     	P2KBCR,3
#define 	P24KE     	P2KBCR,4
#define 	P25KE     	P2KBCR,5

;----- LVDCR Bits ---------------------------------------------------

#define 	LVDF      	LVDCR,0
#define 	LVDVS0    	LVDCR,3
#define 	LVDVS1    	LVDCR,4
#define 	LVDVS2    	LVDCR,5
#define 	LVDEN     	LVDCR,7

;----- T0CR Bits ---------------------------------------------------

#define 	T0PRS0    	T0CR,0
#define 	T0PRS1    	T0CR,1
#define 	T0PRS2    	T0CR,2
#define 	T0CKS0    	T0CR,3
#define 	T0CKS1    	T0CR,4
#define 	T0EN      	T0CR,7

;----- T0CNT Bits ---------------------------------------------------

#define 	T0CNT0    	T0CNT,0
#define 	T0CNT1    	T0CNT,1
#define 	T0CNT2    	T0CNT,2
#define 	T0CNT3    	T0CNT,3
#define 	T0CNT4    	T0CNT,4
#define 	T0CNT5    	T0CNT,5
#define 	T0CNT6    	T0CNT,6
#define 	T0CNT7    	T0CNT,7

;----- T0LOAD Bits ---------------------------------------------------

#define 	T0LOAD0   	T0LOAD,0
#define 	T0LOAD1   	T0LOAD,1
#define 	T0LOAD2   	T0LOAD,2
#define 	T0LOAD3   	T0LOAD,3
#define 	T0LOAD4   	T0LOAD,4
#define 	T0LOAD5   	T0LOAD,5
#define 	T0LOAD6   	T0LOAD,6
#define 	T0LOAD7   	T0LOAD,7

;----- HIRCCAL Bits ---------------------------------------------------

#define 	HIRCCAL0  	HIRCCAL,0
#define 	HIRCCAL1  	HIRCCAL,1
#define 	HIRCCAL2  	HIRCCAL,2
#define 	HIRCCAL3  	HIRCCAL,3
#define 	HIRCCAL4  	HIRCCAL,4
#define 	HIRCCAL5  	HIRCCAL,5
#define 	HIRCCAL6  	HIRCCAL,6
#define 	HIRCCAL7  	HIRCCAL,7

;----- DBGCR Bits ---------------------------------------------------

#define 	DBG0EN    	DBGCR,0
#define 	DBG1EN    	DBGCR,1

;----- DBGPR Bits ---------------------------------------------------

#define 	DBGP0     	DBGPR,0
#define 	DBGP1     	DBGPR,1
#define 	DBGP2     	DBGPR,2
#define 	DBGP3     	DBGPR,3
#define 	DBGP4     	DBGPR,4
#define 	DBGP5     	DBGPR,5
#define 	DBGP6     	DBGPR,6
#define 	DBGP7     	DBGPR,7

;----- T1CR0 Bits ---------------------------------------------------

#define 	T1PRS0    	T1CR0,0
#define 	T1PRS1    	T1CR0,1
#define 	T1PRS2    	T1CR0,2
#define 	T1CKS0    	T1CR0,3
#define 	T1CKS1    	T1CR0,4
#define 	T1MOD     	T1CR0,6
#define 	T1EN      	T1CR0,7

;----- T1CR1 Bits ---------------------------------------------------

#define 	T1CCT0    	T1CR1,0
#define 	T1CCT1    	T1CR1,1
#define 	T1CSTP    	T1CR1,2
#define 	T1CSTR    	T1CR1,3
#define 	T1CINS0   	T1CR1,4
#define 	T1CINS1   	T1CR1,5
#define 	T1CINS2   	T1CR1,6
#define 	T1CEOC    	T1CR1,7

;----- T1CNTH Bits ---------------------------------------------------

#define 	T1CNT8    	T1CNTH,0
#define 	T1CNT9    	T1CNTH,1
#define 	T1CNT10   	T1CNTH,2
#define 	T1CNT11   	T1CNTH,3
#define 	T1CNT12   	T1CNTH,4
#define 	T1CNT13   	T1CNTH,5
#define 	T1CNT14   	T1CNTH,6
#define 	T1CNT15   	T1CNTH,7

;----- T1CNTL Bits ---------------------------------------------------

#define 	T1CNT0    	T1CNTL,0
#define 	T1CNT1    	T1CNTL,1
#define 	T1CNT2    	T1CNTL,2
#define 	T1CNT3    	T1CNTL,3
#define 	T1CNT4    	T1CNTL,4
#define 	T1CNT5    	T1CNTL,5
#define 	T1CNT6    	T1CNTL,6
#define 	T1CNT7    	T1CNTL,7

;----- T1LOADH Bits ---------------------------------------------------

#define 	T1LOAD8   	T1LOADH,0
#define 	T1LOAD9   	T1LOADH,1
#define 	T1LOAD10  	T1LOADH,2
#define 	T1LOAD11  	T1LOADH,3
#define 	T1LOAD12  	T1LOADH,4
#define 	T1LOAD13  	T1LOADH,5
#define 	T1LOAD14  	T1LOADH,6
#define 	T1LOAD15  	T1LOADH,7

;----- T1LOADL Bits ---------------------------------------------------

#define 	T1LOAD0   	T1LOADL,0
#define 	T1LOAD1   	T1LOADL,1
#define 	T1LOAD2   	T1LOADL,2
#define 	T1LOAD3   	T1LOADL,3
#define 	T1LOAD4   	T1LOADL,4
#define 	T1LOAD5   	T1LOADL,5
#define 	T1LOAD6   	T1LOADL,6
#define 	T1LOAD7   	T1LOADL,7

;----- T2CR Bits ---------------------------------------------------

#define 	T2PRS0    	T2CR,0
#define 	T2PRS1    	T2CR,1
#define 	T2PRS2    	T2CR,2
#define 	T2CKS0    	T2CR,3
#define 	T2CKS1    	T2CR,4
#define 	FPWM2AEC  	T2CR,5
#define 	PWM2AEC   	T2CR,6
#define 	T2EN      	T2CR,7

;----- T2CNT Bits ---------------------------------------------------

#define 	T2CNT0    	T2CNT,0
#define 	T2CNT1    	T2CNT,1
#define 	T2CNT2    	T2CNT,2
#define 	T2CNT3    	T2CNT,3
#define 	T2CNT4    	T2CNT,4
#define 	T2CNT5    	T2CNT,5
#define 	T2CNT6    	T2CNT,6
#define 	T2CNT7    	T2CNT,7

;----- T2LOAD Bits ---------------------------------------------------

#define 	T2LOAD0   	T2LOAD,0
#define 	T2LOAD1   	T2LOAD,1
#define 	T2LOAD2   	T2LOAD,2
#define 	T2LOAD3   	T2LOAD,3
#define 	T2LOAD4   	T2LOAD,4
#define 	T2LOAD5   	T2LOAD,5
#define 	T2LOAD6   	T2LOAD,6
#define 	T2LOAD7   	T2LOAD,7

;----- T2DATA Bits ---------------------------------------------------

#define 	T2DATA0   	T2DATA,0
#define 	T2DATA1   	T2DATA,1
#define 	T2DATA2   	T2DATA,2
#define 	T2DATA3   	T2DATA,3
#define 	T2DATA4   	T2DATA,4
#define 	T2DATA5   	T2DATA,5
#define 	T2DATA6   	T2DATA,6
#define 	T2DATA7   	T2DATA,7

;----- T2DATB Bits ---------------------------------------------------

#define 	T2DATB0   	T2DATB,0
#define 	T2DATB1   	T2DATB,1
#define 	T2DATB2   	T2DATB,2
#define 	T2DATB3   	T2DATB,3
#define 	T2DATB4   	T2DATB,4
#define 	T2DATB5   	T2DATB,5
#define 	T2DATB6   	T2DATB,6
#define 	T2DATB7   	T2DATB,7

;----- T2DATC Bits ---------------------------------------------------

#define 	T2DATC0   	T2DATC,0
#define 	T2DATC1   	T2DATC,1
#define 	T2DATC2   	T2DATC,2
#define 	T2DATC3   	T2DATC,3
#define 	T2DATC4   	T2DATC,4
#define 	T2DATC5   	T2DATC,5
#define 	T2DATC6   	T2DATC,6
#define 	T2DATC7   	T2DATC,7

;----- PWM2CR0 Bits ---------------------------------------------------

#define 	PWM2BEC   	PWM2CR0,0
#define 	PWM2CEC   	PWM2CR0,1
#define 	FPWM2ACHS 	PWM2CR0,2
#define 	FPWM2ANV  	PWM2CR0,4
#define 	PWM2ANV   	PWM2CR0,5
#define 	PWM2BNV   	PWM2CR0,6
#define 	PWM2CNV   	PWM2CR0,7

;----- PWM2CR1 Bits ---------------------------------------------------

#define 	FPWM2AE0  	PWM2CR1,0
#define 	FPWM2AE1  	PWM2CR1,1
#define 	FPWM2AE2  	PWM2CR1,2
#define 	FPWM2AE3  	PWM2CR1,3
#define 	FPWM2AE4  	PWM2CR1,4
#define 	FPWM2AE5  	PWM2CR1,5

;----- PWM2CR2 Bits ---------------------------------------------------

#define 	PWM2AD0   	PWM2CR2,0
#define 	PWM2AD1   	PWM2CR2,1
#define 	PWM2AD2   	PWM2CR2,2
#define 	PWM2ADB   	PWM2CR2,3

;----- EECR Bits ---------------------------------------------------

#define 	EEWRITE   	EECR,0
#define 	EEREAD    	EECR,1

;----- EEPR Bits ---------------------------------------------------

#define 	EEP0      	EEPR,0
#define 	EEP1      	EEPR,1
#define 	EEP2      	EEPR,2
#define 	EEP3      	EEPR,3
#define 	EEP4      	EEPR,4
#define 	EEP5      	EEPR,5
#define 	EEP6      	EEPR,6
#define 	EEP7      	EEPR,7

;----- EEAR Bits ---------------------------------------------------

#define 	EEA0      	EEAR,0
#define 	EEA1      	EEAR,1
#define 	EEA2      	EEAR,2
#define 	EEA3      	EEAR,3
#define 	EEA4      	EEAR,4
#define 	EEA5      	EEAR,5
#define 	EEA6      	EEAR,6

;----- EEDRH Bits ---------------------------------------------------

#define 	EED8      	EEDRH,0
#define 	EED9      	EEDRH,1
#define 	EED10     	EEDRH,2
#define 	EED11     	EEDRH,3
#define 	EED12     	EEDRH,4
#define 	EED13     	EEDRH,5
#define 	EED14     	EEDRH,6
#define 	EED15     	EEDRH,7

;----- EEDRL Bits ---------------------------------------------------

#define 	EED0      	EEDRL,0
#define 	EED1      	EEDRL,1
#define 	EED2      	EEDRL,2
#define 	EED3      	EEDRL,3
#define 	EED4      	EEDRL,4
#define 	EED5      	EEDRL,5
#define 	EED6      	EEDRL,6
#define 	EED7      	EEDRL,7

;----- ADCR0 Bits ---------------------------------------------------

#define 	ADCHS0    	ADCR0,0
#define 	ADCHS1    	ADCR0,1
#define 	ADCHS2    	ADCR0,2
#define 	ADCHS3    	ADCR0,3
#define 	ADCKS0    	ADCR0,4
#define 	ADCKS1    	ADCR0,5
#define 	ADEOC     	ADCR0,6
#define 	ADEN      	ADCR0,7

;----- ADCR1 Bits ---------------------------------------------------

#define 	ADSPS0    	ADCR1,0
#define 	ADSPS1    	ADCR1,1
#define 	ADVRS0    	ADCR1,4
#define 	ADVRS1    	ADCR1,5
#define 	ADVRS2    	ADCR1,6
#define 	ADRSEL    	ADCR1,7

;----- ADRH Bits ---------------------------------------------------

#define 	ADR4      	ADRH,0
#define 	ADR5      	ADRH,1
#define 	ADR6      	ADRH,2
#define 	ADR7      	ADRH,3
#define 	ADR8      	ADRH,4
#define 	ADR9      	ADRH,5
#define 	ADR10     	ADRH,6
#define 	ADR11     	ADRH,7

;----- ADRL Bits ---------------------------------------------------

#define 	ADR0      	ADRL,0
#define 	ADR1      	ADRL,1
#define 	ADR2      	ADRL,2
#define 	ADR3      	ADRL,3

;----- OSADJCR Bits ---------------------------------------------------

#define 	OSADJT0   	OSADJCR,0
#define 	OSADJT1   	OSADJCR,1
#define 	OSADJT2   	OSADJCR,2
#define 	OSADJT3   	OSADJCR,3
#define 	OSADJT4   	OSADJCR,4
#define 	OSADJT5   	OSADJCR,5
#define 	OSADJTD   	OSADJCR,6
#define 	OSADJEN   	OSADJCR,7

;----- P0ADCR Bits ---------------------------------------------------

#define 	P00DC     	P0ADCR,0
#define 	P01DC     	P0ADCR,1
#define 	P02DC     	P0ADCR,2

;----- P1ADCR Bits ---------------------------------------------------

#define 	P10DC     	P1ADCR,0
#define 	P11DC     	P1ADCR,1
#define 	P12DC     	P1ADCR,2
#define 	P13DC     	P1ADCR,3
#define 	P14DC     	P1ADCR,4
#define 	P15DC     	P1ADCR,5

;----- P2ADCR Bits ---------------------------------------------------

#define 	P20DC     	P2ADCR,0
#define 	P21DC     	P2ADCR,1
#define 	P22DC     	P2ADCR,2
#define 	P23DC     	P2ADCR,3
#define 	P24DC     	P2ADCR,4
#define 	P25DC     	P2ADCR,5

;----- OPCR0 Bits ---------------------------------------------------

#define 	OP1PS0    	OPCR0,0
#define 	OP1PS1    	OPCR0,1
#define 	DAC1EN    	OPCR0,2
#define 	OP1EN     	OPCR0,3
#define 	OP0PS0    	OPCR0,4
#define 	OP0PS1    	OPCR0,5
#define 	DAC0EN    	OPCR0,6
#define 	OP0EN     	OPCR0,7

;----- OPCR1 Bits ---------------------------------------------------

#define 	OP2OE     	OPCR1,0
#define 	OP2NS0    	OPCR1,3
#define 	OP2NS1    	OPCR1,4
#define 	OP2PS     	OPCR1,5
#define 	OP2MD     	OPCR1,6
#define 	OP2EN     	OPCR1,7

;----- OPCR2 Bits ---------------------------------------------------

#define 	OP2OF     	OPCR2,0
#define 	OP2IM     	OPCR2,1
#define 	OP2NV     	OPCR2,2
#define 	OP2DB0    	OPCR2,3
#define 	OP2DB1    	OPCR2,4
#define 	OP2DB2    	OPCR2,5
#define 	OP2AF     	OPCR2,6

;----- OP0VRH Bits ---------------------------------------------------

#define 	OP0PVS8   	OP0VRH,0
#define 	OP0PVS9   	OP0VRH,1
#define 	OP0PVS10  	OP0VRH,2
#define 	OP0PVS11  	OP0VRH,3
#define 	OP0PVS12  	OP0VRH,4
#define 	OP0PVS13  	OP0VRH,5

;----- OP0VRL Bits ---------------------------------------------------

#define 	OP0PVS0   	OP0VRL,0
#define 	OP0PVS1   	OP0VRL,1
#define 	OP0PVS2   	OP0VRL,2
#define 	OP0PVS3   	OP0VRL,3
#define 	OP0PVS4   	OP0VRL,4
#define 	OP0PVS5   	OP0VRL,5
#define 	OP0PVS6   	OP0VRL,6
#define 	OP0PVS7   	OP0VRL,7

;----- OP1VRH Bits ---------------------------------------------------

#define 	OP1PVS8   	OP1VRH,0
#define 	OP1PVS9   	OP1VRH,1
#define 	OP1PVS10  	OP1VRH,2
#define 	OP1PVS11  	OP1VRH,3

;----- OP1VRL Bits ---------------------------------------------------

#define 	OP1PVS0   	OP1VRL,0
#define 	OP1PVS1   	OP1VRL,1
#define 	OP1PVS2   	OP1VRL,2
#define 	OP1PVS3   	OP1VRL,3
#define 	OP1PVS4   	OP1VRL,4
#define 	OP1PVS5   	OP1VRL,5
#define 	OP1PVS6   	OP1VRL,6
#define 	OP1PVS7   	OP1VRL,7

;----- OP2CLR Bits ---------------------------------------------------

#define 	OP2CLR0   	OP2CLR,0
#define 	OP2CLR1   	OP2CLR,1
#define 	OP2CLR2   	OP2CLR,2
#define 	OP2CLR3   	OP2CLR,3
#define 	OP2CLR4   	OP2CLR,4
#define 	OP2CLR5   	OP2CLR,5
#define 	OP2CLRS   	OP2CLR,6
#define 	OP2CLRE   	OP2CLR,7

;----- URTCR0 Bits ---------------------------------------------------

#define 	URTPRS0   	URTCR0,0
#define 	URTPRS1   	URTCR0,1
#define 	URTPRS2   	URTCR0,2
#define 	UPMD      	URTCR0,4
#define 	UPEN      	URTCR0,5
#define 	UREN      	URTCR0,6
#define 	URTEN     	URTCR0,7

;----- URTCR1 Bits ---------------------------------------------------

#define 	TXB8      	URTCR1,0
#define 	USTPF     	URTCR1,1
#define 	UDATF     	URTCR1,2
#define 	UAEN      	URTCR1,3

;----- URTCR2 Bits ---------------------------------------------------

#define 	URTLNV    	URTCR2,0
#define 	URTMOD    	URTCR2,1
#define 	URTPTS    	URTCR2,2
#define 	URTCHS    	URTCR2,3

;----- URTSR Bits ---------------------------------------------------

#define 	RXB8      	URTSR,0
#define 	RXOV      	URTSR,1
#define 	PERR      	URTSR,2
#define 	FERR      	URTSR,3
#define 	TXCL      	URTSR,7

;----- URTBR Bits ---------------------------------------------------

#define 	URTB0     	URTBR,0
#define 	URTB1     	URTBR,1
#define 	URTB2     	URTBR,2
#define 	URTB3     	URTBR,3
#define 	URTB4     	URTBR,4
#define 	URTB5     	URTBR,5
#define 	URTB6     	URTBR,6
#define 	URTB7     	URTBR,7

;----- URTDR Bits ---------------------------------------------------

#define 	URTD0     	URTDR,0
#define 	URTD1     	URTDR,1
#define 	URTD2     	URTDR,2
#define 	URTD3     	URTDR,3
#define 	URTD4     	URTDR,4
#define 	URTD5     	URTDR,5
#define 	URTD6     	URTDR,6
#define 	URTD7     	URTDR,7

;----- URTAR Bits ---------------------------------------------------

#define 	URTA0     	URTAR,0
#define 	URTA1     	URTAR,1
#define 	URTA2     	URTAR,2
#define 	URTA3     	URTAR,3
#define 	URTA4     	URTAR,4
#define 	URTA5     	URTAR,5
#define 	URTA6     	URTAR,6
#define 	URTA7     	URTAR,7

;----- URTMR Bits ---------------------------------------------------

#define 	URTM0     	URTMR,0
#define 	URTM1     	URTMR,1
#define 	URTM2     	URTMR,2
#define 	URTM3     	URTMR,3
#define 	URTM4     	URTMR,4
#define 	URTM5     	URTMR,5
#define 	URTM6     	URTMR,6
#define 	URTM7     	URTMR,7

;==========================================================================
;
;	RAM Definition
;
;==========================================================================

	__MAXRAM H'FF'
	__BADRAM H'80'-H'81'
	__BADRAM H'85'


;==========================================================================
;
;	Configuration Bits
;
;==========================================================================

_CONFIG1  		EQU		H'8001'
_CONFIG0  		EQU		H'8000'

;OPBIT1

;OPBIT0

		LIST
