#ifndef __SN8P2233__H
#define __SN8P2233__H
struct specialRegister{
	unsigned bit0:1;
	unsigned bit1:1;
	unsigned bit2:1;
	unsigned bit3:1;
	unsigned bit4:1;
	unsigned bit5:1;
	unsigned bit6:1;
	unsigned bit7:1;
};


void _ClearWatchDogTimer(void);
void _ClrRAM(void);

#define NOP(X)  	__asm{	_NOP X }
#define LOG(X)  	__asm{	LOG CNameToAsmLabel(X) }
#define	R	(*((__RAM unsigned int*)0x82))
#define	Z	(*((__RAM unsigned int*)0x83))
#define	Y	(*((__RAM unsigned int*)0x84))
#define	PFLAG	(*((__RAM unsigned int*)0x86))
#define	FZ	((*((__RAM struct specialRegister *)0x86)).bit0)
#define	FDC	((*((__RAM struct specialRegister *)0x86)).bit1)
#define	FC	((*((__RAM struct specialRegister *)0x86)).bit2)
#define	FNPD	((*((__RAM struct specialRegister *)0x86)).bit6)
#define	FNT0	((*((__RAM struct specialRegister *)0x86)).bit7)
#define	RBANK	(*((__RAM unsigned int*)0x87))
#define	FRBNKS0	((*((__RAM struct specialRegister *)0x87)).bit0)
#define	FRBNKS1	((*((__RAM struct specialRegister *)0x87)).bit1)
#define	UDA	(*((__RAM unsigned int*)0x90))
#define	FUDE	((*((__RAM struct specialRegister *)0x90)).bit7)
#define	FUDA6	((*((__RAM struct specialRegister *)0x90)).bit6)
#define	FUDA5	((*((__RAM struct specialRegister *)0x90)).bit5)
#define	FUDA4	((*((__RAM struct specialRegister *)0x90)).bit4)
#define	FUDA3	((*((__RAM struct specialRegister *)0x90)).bit3)
#define	FUDA2	((*((__RAM struct specialRegister *)0x90)).bit2)
#define	FUDA1	((*((__RAM struct specialRegister *)0x90)).bit1)
#define	FUDA0	((*((__RAM struct specialRegister *)0x90)).bit0)
#define	USTATUS	(*((__RAM unsigned int*)0x91))
#define	FSOF	((*((__RAM struct specialRegister *)0x91)).bit5)
#define	FBUS_RST	((*((__RAM struct specialRegister *)0x91)).bit4)
#define	FSUSPEND	((*((__RAM struct specialRegister *)0x91)).bit3)
#define	FEP0SETUP	((*((__RAM struct specialRegister *)0x91)).bit2)
#define	FEP0IN	((*((__RAM struct specialRegister *)0x91)).bit1)
#define	FEP0OUT	((*((__RAM struct specialRegister *)0x91)).bit0)
#define	EP0OUT_CNT	(*((__RAM unsigned int*)0x92))
#define	FUEP0OC4	((*((__RAM struct specialRegister *)0x92)).bit4)
#define	FUEP0OC3	((*((__RAM struct specialRegister *)0x92)).bit3)
#define	FUEP0OC2	((*((__RAM struct specialRegister *)0x92)).bit2)
#define	FUEP0OC1	((*((__RAM struct specialRegister *)0x92)).bit1)
#define	FUEP0OC0	((*((__RAM struct specialRegister *)0x92)).bit0)
#define	USB_INT_EN	(*((__RAM unsigned int*)0x93))
#define	FREG_EN	((*((__RAM struct specialRegister *)0x93)).bit7)
#define	FDP_PU_EN	((*((__RAM struct specialRegister *)0x93)).bit6)
#define	FSOF_INT_EN	((*((__RAM struct specialRegister *)0x93)).bit5)
#define	FEP4NAK_INT_EN	((*((__RAM struct specialRegister *)0x93)).bit3)
#define	FEP3NAK_INT_EN	((*((__RAM struct specialRegister *)0x93)).bit2)
#define	FEP2NAK_INT_EN	((*((__RAM struct specialRegister *)0x93)).bit1)
#define	FEP1NAK_INT_EN	((*((__RAM struct specialRegister *)0x93)).bit0)
#define	EP_ACK	(*((__RAM unsigned int*)0x94))
#define	FEP6_OUT	((*((__RAM struct specialRegister *)0x94)).bit5)
#define	FEP5_IN	((*((__RAM struct specialRegister *)0x94)).bit4)
#define	FEP4_ACK	((*((__RAM struct specialRegister *)0x94)).bit3)
#define	FEP3_ACK	((*((__RAM struct specialRegister *)0x94)).bit2)
#define	FEP2_ACK	((*((__RAM struct specialRegister *)0x94)).bit1)
#define	FEP1_ACK	((*((__RAM struct specialRegister *)0x94)).bit0)
#define	EP_NAK	(*((__RAM unsigned int*)0x95))
#define	FEP4_NAK	((*((__RAM struct specialRegister *)0x95)).bit3)
#define	FEP3_NAK	((*((__RAM struct specialRegister *)0x95)).bit2)
#define	FEP2_NAK	((*((__RAM struct specialRegister *)0x95)).bit1)
#define	FEP1_NAK	((*((__RAM struct specialRegister *)0x95)).bit0)
#define	UE0R	(*((__RAM unsigned int*)0x96))
#define	FUE0M1	((*((__RAM struct specialRegister *)0x96)).bit6)
#define	FUE0M0	((*((__RAM struct specialRegister *)0x96)).bit5)
#define	FUE0C3	((*((__RAM struct specialRegister *)0x96)).bit3)
#define	FUE0C2	((*((__RAM struct specialRegister *)0x96)).bit2)
#define	FUE0C1	((*((__RAM struct specialRegister *)0x96)).bit1)
#define	FUE0C0	((*((__RAM struct specialRegister *)0x96)).bit0)
#define	UE1R	(*((__RAM unsigned int*)0x97))
#define	FUE1E	((*((__RAM struct specialRegister *)0x97)).bit7)
#define	FUE1M1	((*((__RAM struct specialRegister *)0x97)).bit6)
#define	FUE1M0	((*((__RAM struct specialRegister *)0x97)).bit5)
#define	FUE1C4	((*((__RAM struct specialRegister *)0x97)).bit4)
#define	FUE1C3	((*((__RAM struct specialRegister *)0x97)).bit3)
#define	FUE1C2	((*((__RAM struct specialRegister *)0x97)).bit2)
#define	FUE1C1	((*((__RAM struct specialRegister *)0x97)).bit1)
#define	FUE1C0	((*((__RAM struct specialRegister *)0x97)).bit0)
#define	UE2R	(*((__RAM unsigned int*)0x98))
#define	FUE2E	((*((__RAM struct specialRegister *)0x98)).bit7)
#define	FUE2M1	((*((__RAM struct specialRegister *)0x98)).bit6)
#define	FUE2M0	((*((__RAM struct specialRegister *)0x98)).bit5)
#define	FUE2C4	((*((__RAM struct specialRegister *)0x98)).bit4)
#define	FUE2C3	((*((__RAM struct specialRegister *)0x98)).bit3)
#define	FUE2C2	((*((__RAM struct specialRegister *)0x98)).bit2)
#define	FUE2C1	((*((__RAM struct specialRegister *)0x98)).bit1)
#define	FUE2C0	((*((__RAM struct specialRegister *)0x98)).bit0)
#define	UE3R	(*((__RAM unsigned int*)0x99))
#define	FUE3E	((*((__RAM struct specialRegister *)0x99)).bit7)
#define	FUE3M1	((*((__RAM struct specialRegister *)0x99)).bit6)
#define	FUE3M0	((*((__RAM struct specialRegister *)0x99)).bit5)
#define	FUE3C3	((*((__RAM struct specialRegister *)0x99)).bit3)
#define	FUE3C2	((*((__RAM struct specialRegister *)0x99)).bit2)
#define	FUE3C1	((*((__RAM struct specialRegister *)0x99)).bit1)
#define	FUE3C0	((*((__RAM struct specialRegister *)0x99)).bit0)
#define	UE4R	(*((__RAM unsigned int*)0x9a))
#define	FUE4E	((*((__RAM struct specialRegister *)0x9a)).bit7)
#define	FUE4M1	((*((__RAM struct specialRegister *)0x9a)).bit6)
#define	FUE4M0	((*((__RAM struct specialRegister *)0x9a)).bit5)
#define	FUE4C3	((*((__RAM struct specialRegister *)0x9a)).bit3)
#define	FUE4C2	((*((__RAM struct specialRegister *)0x9a)).bit2)
#define	FUE4C1	((*((__RAM struct specialRegister *)0x9a)).bit1)
#define	FUE4C0	((*((__RAM struct specialRegister *)0x9a)).bit0)
#define	UEER	(*((__RAM unsigned int*)0x9b))
#define	FUE6E	((*((__RAM struct specialRegister *)0x9b)).bit1)
#define	FUE5E	((*((__RAM struct specialRegister *)0x9b)).bit0)
#define	EP5IN_CNT	(*((__RAM unsigned int*)0x9c))
#define	FEP5IN_CNT_5	((*((__RAM struct specialRegister *)0x9c)).bit5)
#define	FEP5IN_CNT_4	((*((__RAM struct specialRegister *)0x9c)).bit4)
#define	FEP5IN_CNT_3	((*((__RAM struct specialRegister *)0x9c)).bit3)
#define	FEP5IN_CNT_2	((*((__RAM struct specialRegister *)0x9c)).bit2)
#define	FEP5IN_CNT_1	((*((__RAM struct specialRegister *)0x9c)).bit1)
#define	FEP5IN_CNT_0	((*((__RAM struct specialRegister *)0x9c)).bit0)
#define	EP6OUT_CNT_L	(*((__RAM unsigned int*)0x9e))
#define	FEP6OUT_CNT_7	((*((__RAM struct specialRegister *)0x9e)).bit7)
#define	FEP6OUT_CNT_6	((*((__RAM struct specialRegister *)0x9e)).bit6)
#define	FEP6OUT_CNT_5	((*((__RAM struct specialRegister *)0x9e)).bit5)
#define	FEP6OUT_CNT_4	((*((__RAM struct specialRegister *)0x9e)).bit4)
#define	FEP6OUT_CNT_3	((*((__RAM struct specialRegister *)0x9e)).bit3)
#define	FEP6OUT_CNT_2	((*((__RAM struct specialRegister *)0x9e)).bit2)
#define	FEP6OUT_CNT_1	((*((__RAM struct specialRegister *)0x9e)).bit1)
#define	FEP6OUT_CNT_0	((*((__RAM struct specialRegister *)0x9e)).bit0)
#define	EP6OUT_CNT_H	(*((__RAM unsigned int*)0x9f))
#define	FEP6OUT_CNT_8	((*((__RAM struct specialRegister *)0x9f)).bit0)
#define	UDP0_L	(*((__RAM unsigned int*)0xa3))
#define	FUDP07	((*((__RAM struct specialRegister *)0xa3)).bit7)
#define	FUDP06	((*((__RAM struct specialRegister *)0xa3)).bit6)
#define	FUDP05	((*((__RAM struct specialRegister *)0xa3)).bit5)
#define	FUDP04	((*((__RAM struct specialRegister *)0xa3)).bit4)
#define	FUDP03	((*((__RAM struct specialRegister *)0xa3)).bit3)
#define	FUDP02	((*((__RAM struct specialRegister *)0xa3)).bit2)
#define	FUDP01	((*((__RAM struct specialRegister *)0xa3)).bit1)
#define	FUDP00	((*((__RAM struct specialRegister *)0xa3)).bit0)
#define	UDP0_H	(*((__RAM unsigned int*)0xa4))
#define	FWE0	((*((__RAM struct specialRegister *)0xa4)).bit7)
#define	FRE0	((*((__RAM struct specialRegister *)0xa4)).bit6)
#define	FUDP08	((*((__RAM struct specialRegister *)0xa4)).bit0)
#define	UDR0_R	(*((__RAM unsigned int*)0xa5))
#define	FUDR0_R7	((*((__RAM struct specialRegister *)0xa5)).bit7)
#define	FUDR0_R6	((*((__RAM struct specialRegister *)0xa5)).bit6)
#define	FUDR0_R5	((*((__RAM struct specialRegister *)0xa5)).bit5)
#define	FUDR0_R4	((*((__RAM struct specialRegister *)0xa5)).bit4)
#define	FUDR0_R3	((*((__RAM struct specialRegister *)0xa5)).bit3)
#define	FUDR0_R2	((*((__RAM struct specialRegister *)0xa5)).bit2)
#define	FUDR0_R1	((*((__RAM struct specialRegister *)0xa5)).bit1)
#define	FUDR0_R0	((*((__RAM struct specialRegister *)0xa5)).bit0)
#define	UDR0_W	(*((__RAM unsigned int*)0xa6))
#define	FUDR0_W7	((*((__RAM struct specialRegister *)0xa6)).bit7)
#define	FUDR0_W6	((*((__RAM struct specialRegister *)0xa6)).bit6)
#define	FUDR0_W5	((*((__RAM struct specialRegister *)0xa6)).bit5)
#define	FUDR0_W4	((*((__RAM struct specialRegister *)0xa6)).bit4)
#define	FUDR0_W3	((*((__RAM struct specialRegister *)0xa6)).bit3)
#define	FUDR0_W2	((*((__RAM struct specialRegister *)0xa6)).bit2)
#define	FUDR0_W1	((*((__RAM struct specialRegister *)0xa6)).bit1)
#define	FUDR0_W0	((*((__RAM struct specialRegister *)0xa6)).bit0)
#define	EP1OUT_CNT	(*((__RAM unsigned int*)0xa7))
#define	FUEP1OC4	((*((__RAM struct specialRegister *)0xa7)).bit4)
#define	FUEP1OC3	((*((__RAM struct specialRegister *)0xa7)).bit3)
#define	FUEP1OC2	((*((__RAM struct specialRegister *)0xa7)).bit2)
#define	FUEP1OC1	((*((__RAM struct specialRegister *)0xa7)).bit1)
#define	FUEP1OC0	((*((__RAM struct specialRegister *)0xa7)).bit0)
#define	EP2OUT_CNT	(*((__RAM unsigned int*)0xa8))
#define	FUEP2OC4	((*((__RAM struct specialRegister *)0xa8)).bit4)
#define	FUEP2OC3	((*((__RAM struct specialRegister *)0xa8)).bit3)
#define	FUEP2OC2	((*((__RAM struct specialRegister *)0xa8)).bit2)
#define	FUEP2OC1	((*((__RAM struct specialRegister *)0xa8)).bit1)
#define	FUEP2OC0	((*((__RAM struct specialRegister *)0xa8)).bit0)
#define	EP3OUT_CNT	(*((__RAM unsigned int*)0xa9))
#define	FUEP3OC3	((*((__RAM struct specialRegister *)0xa9)).bit3)
#define	FUEP3OC2	((*((__RAM struct specialRegister *)0xa9)).bit2)
#define	FUEP3OC1	((*((__RAM struct specialRegister *)0xa9)).bit1)
#define	FUEP3OC0	((*((__RAM struct specialRegister *)0xa9)).bit0)
#define	EP4OUT_CNT	(*((__RAM unsigned int*)0xaa))
#define	FUEP4OC3	((*((__RAM struct specialRegister *)0xaa)).bit3)
#define	FUEP4OC2	((*((__RAM struct specialRegister *)0xaa)).bit2)
#define	FUEP4OC1	((*((__RAM struct specialRegister *)0xaa)).bit1)
#define	FUEP4OC0	((*((__RAM struct specialRegister *)0xaa)).bit0)
#define	UPID	(*((__RAM unsigned int*)0xab))
#define	FUBDE	((*((__RAM struct specialRegister *)0xab)).bit2)
#define	FDDP	((*((__RAM struct specialRegister *)0xab)).bit1)
#define	FDDN	((*((__RAM struct specialRegister *)0xab)).bit0)
#define	SIOM	(*((__RAM unsigned int*)0xb4))
#define	FSENB	((*((__RAM struct specialRegister *)0xb4)).bit7)
#define	FSTART	((*((__RAM struct specialRegister *)0xb4)).bit6)
#define	FSRATE1	((*((__RAM struct specialRegister *)0xb4)).bit5)
#define	FSRATE0	((*((__RAM struct specialRegister *)0xb4)).bit4)
#define	FMLSB	((*((__RAM struct specialRegister *)0xb4)).bit3)
#define	FSCKMD	((*((__RAM struct specialRegister *)0xb4)).bit2)
#define	FSEDGE	((*((__RAM struct specialRegister *)0xb4)).bit1)
#define	FSP	((*((__RAM struct specialRegister *)0xb4)).bit0)
#define	SIOR	(*((__RAM unsigned int*)0xb5))
#define	SIOB	(*((__RAM unsigned int*)0xb6))
#define	P0M	(*((__RAM unsigned int*)0xb8))
#define	FP04M	((*((__RAM struct specialRegister *)0xb8)).bit4)
#define	FP03M	((*((__RAM struct specialRegister *)0xb8)).bit3)
#define	FP02M	((*((__RAM struct specialRegister *)0xb8)).bit2)
#define	FP01M	((*((__RAM struct specialRegister *)0xb8)).bit1)
#define	FP00M	((*((__RAM struct specialRegister *)0xb8)).bit0)
#define	PEDGE	(*((__RAM unsigned int*)0xbf))
#define	FP00G1	((*((__RAM struct specialRegister *)0xbf)).bit4)
#define	FP00G0	((*((__RAM struct specialRegister *)0xbf)).bit3)
#define	FP01G1	((*((__RAM struct specialRegister *)0xbf)).bit2)
#define	FP01G0	((*((__RAM struct specialRegister *)0xbf)).bit1)
#define	P1W	(*((__RAM unsigned int*)0xc0))
#define	FP17W	((*((__RAM struct specialRegister *)0xc0)).bit7)
#define	FP16W	((*((__RAM struct specialRegister *)0xc0)).bit6)
#define	FP15W	((*((__RAM struct specialRegister *)0xc0)).bit5)
#define	FP14W	((*((__RAM struct specialRegister *)0xc0)).bit4)
#define	FP13W	((*((__RAM struct specialRegister *)0xc0)).bit3)
#define	FP12W	((*((__RAM struct specialRegister *)0xc0)).bit2)
#define	FP11W	((*((__RAM struct specialRegister *)0xc0)).bit1)
#define	FP10W	((*((__RAM struct specialRegister *)0xc0)).bit0)
#define	P1M	(*((__RAM unsigned int*)0xc1))
#define	FP17M	((*((__RAM struct specialRegister *)0xc1)).bit7)
#define	FP16M	((*((__RAM struct specialRegister *)0xc1)).bit6)
#define	FP15M	((*((__RAM struct specialRegister *)0xc1)).bit5)
#define	FP14M	((*((__RAM struct specialRegister *)0xc1)).bit4)
#define	FP13M	((*((__RAM struct specialRegister *)0xc1)).bit3)
#define	FP12M	((*((__RAM struct specialRegister *)0xc1)).bit2)
#define	FP11M	((*((__RAM struct specialRegister *)0xc1)).bit1)
#define	FP10M	((*((__RAM struct specialRegister *)0xc1)).bit0)
#define	P2M	(*((__RAM unsigned int*)0xc2))
#define	FP25M	((*((__RAM struct specialRegister *)0xc2)).bit5)
#define	FP24M	((*((__RAM struct specialRegister *)0xc2)).bit4)
#define	FP23M	((*((__RAM struct specialRegister *)0xc2)).bit3)
#define	FP22M	((*((__RAM struct specialRegister *)0xc2)).bit2)
#define	FP21M	((*((__RAM struct specialRegister *)0xc2)).bit1)
#define	FP20M	((*((__RAM struct specialRegister *)0xc2)).bit0)
#define	P3M	(*((__RAM unsigned int*)0xc3))
#define	FP37M	((*((__RAM struct specialRegister *)0xc3)).bit7)
#define	FP36M	((*((__RAM struct specialRegister *)0xc3)).bit6)
#define	FP35M	((*((__RAM struct specialRegister *)0xc3)).bit5)
#define	FP34M	((*((__RAM struct specialRegister *)0xc3)).bit4)
#define	FP33M	((*((__RAM struct specialRegister *)0xc3)).bit3)
#define	FP32M	((*((__RAM struct specialRegister *)0xc3)).bit2)
#define	FP31M	((*((__RAM struct specialRegister *)0xc3)).bit1)
#define	FP30M	((*((__RAM struct specialRegister *)0xc3)).bit0)
#define	P5M	(*((__RAM unsigned int*)0xc5))
#define	FP52M	((*((__RAM struct specialRegister *)0xc5)).bit2)
#define	FP51M	((*((__RAM struct specialRegister *)0xc5)).bit1)
#define	FP50M	((*((__RAM struct specialRegister *)0xc5)).bit0)
#define	INTRQ	(*((__RAM unsigned int*)0xc8))
#define	FSOFIRQ	((*((__RAM struct specialRegister *)0xc8)).bit7)
#define	FUSBIRQ	((*((__RAM struct specialRegister *)0xc8)).bit6)
#define	FT1IRQ	((*((__RAM struct specialRegister *)0xc8)).bit5)
#define	FT0IRQ	((*((__RAM struct specialRegister *)0xc8)).bit4)
#define	FSIOIRQ	((*((__RAM struct specialRegister *)0xc8)).bit3)
#define	FWAKEIRQ	((*((__RAM struct specialRegister *)0xc8)).bit2)
#define	FP01IRQ	((*((__RAM struct specialRegister *)0xc8)).bit1)
#define	FP00IRQ	((*((__RAM struct specialRegister *)0xc8)).bit0)
#define	INTEN	(*((__RAM unsigned int*)0xc9))
#define	FSOFIEN	((*((__RAM struct specialRegister *)0xc9)).bit7)
#define	FUSBIEN	((*((__RAM struct specialRegister *)0xc9)).bit6)
#define	FT1IEN	((*((__RAM struct specialRegister *)0xc9)).bit5)
#define	FT0IEN	((*((__RAM struct specialRegister *)0xc9)).bit4)
#define	FSIOIEN	((*((__RAM struct specialRegister *)0xc9)).bit3)
#define	FWAKEIEN	((*((__RAM struct specialRegister *)0xc9)).bit2)
#define	FP01IEN	((*((__RAM struct specialRegister *)0xc9)).bit1)
#define	FP00IEN	((*((__RAM struct specialRegister *)0xc9)).bit0)
#define	OSCM	(*((__RAM unsigned int*)0xca))
#define	FCPUM1	((*((__RAM struct specialRegister *)0xca)).bit4)
#define	FCPUM0	((*((__RAM struct specialRegister *)0xca)).bit3)
#define	FCLKMD	((*((__RAM struct specialRegister *)0xca)).bit2)
#define	FSTPHX	((*((__RAM struct specialRegister *)0xca)).bit1)
#define	WDTR	(*((__RAM unsigned int*)0xcc))
#define	PCL	(*((__RAM unsigned int*)0xce))
#define	PCH	(*((__RAM unsigned int*)0xcf))
#define	P0	(*((__RAM unsigned int*)0xd0))
#define	FP05	((*((__RAM struct specialRegister *)0xd0)).bit5)
#define	FP04	((*((__RAM struct specialRegister *)0xd0)).bit4)
#define	FP03	((*((__RAM struct specialRegister *)0xd0)).bit3)
#define	FP02	((*((__RAM struct specialRegister *)0xd0)).bit2)
#define	FP01	((*((__RAM struct specialRegister *)0xd0)).bit1)
#define	FP00	((*((__RAM struct specialRegister *)0xd0)).bit0)
#define	P1	(*((__RAM unsigned int*)0xd1))
#define	FP17	((*((__RAM struct specialRegister *)0xd1)).bit7)
#define	FP16	((*((__RAM struct specialRegister *)0xd1)).bit6)
#define	FP15	((*((__RAM struct specialRegister *)0xd1)).bit5)
#define	FP14	((*((__RAM struct specialRegister *)0xd1)).bit4)
#define	FP13	((*((__RAM struct specialRegister *)0xd1)).bit3)
#define	FP12	((*((__RAM struct specialRegister *)0xd1)).bit2)
#define	FP11	((*((__RAM struct specialRegister *)0xd1)).bit1)
#define	FP10	((*((__RAM struct specialRegister *)0xd1)).bit0)
#define	P2	(*((__RAM unsigned int*)0xd2))
#define	FP25	((*((__RAM struct specialRegister *)0xd2)).bit5)
#define	FP24	((*((__RAM struct specialRegister *)0xd2)).bit4)
#define	FP23	((*((__RAM struct specialRegister *)0xd2)).bit3)
#define	FP22	((*((__RAM struct specialRegister *)0xd2)).bit2)
#define	FP21	((*((__RAM struct specialRegister *)0xd2)).bit1)
#define	FP20	((*((__RAM struct specialRegister *)0xd2)).bit0)
#define	P3	(*((__RAM unsigned int*)0xd3))
#define	FP37	((*((__RAM struct specialRegister *)0xd3)).bit7)
#define	FP36	((*((__RAM struct specialRegister *)0xd3)).bit6)
#define	FP35	((*((__RAM struct specialRegister *)0xd3)).bit5)
#define	FP34	((*((__RAM struct specialRegister *)0xd3)).bit4)
#define	FP33	((*((__RAM struct specialRegister *)0xd3)).bit3)
#define	FP32	((*((__RAM struct specialRegister *)0xd3)).bit2)
#define	FP31	((*((__RAM struct specialRegister *)0xd3)).bit1)
#define	FP30	((*((__RAM struct specialRegister *)0xd3)).bit0)
#define	P5	(*((__RAM unsigned int*)0xd5))
#define	FP52	((*((__RAM struct specialRegister *)0xd5)).bit2)
#define	FP51	((*((__RAM struct specialRegister *)0xd5)).bit1)
#define	FP50	((*((__RAM struct specialRegister *)0xd5)).bit0)
#define	T0M	(*((__RAM unsigned int*)0xd8))
#define	FT0ENB	((*((__RAM struct specialRegister *)0xd8)).bit7)
#define	FT0RATE2	((*((__RAM struct specialRegister *)0xd8)).bit6)
#define	FT0RATE1	((*((__RAM struct specialRegister *)0xd8)).bit5)
#define	FT0RATE0	((*((__RAM struct specialRegister *)0xd8)).bit4)
#define	T0C	(*((__RAM unsigned int*)0xd9))
#define	T1M	(*((__RAM unsigned int*)0xda))
#define	FT1ENB	((*((__RAM struct specialRegister *)0xda)).bit7)
#define	FT1RATE2	((*((__RAM struct specialRegister *)0xda)).bit6)
#define	FT1RATE1	((*((__RAM struct specialRegister *)0xda)).bit5)
#define	FT1RATE0	((*((__RAM struct specialRegister *)0xda)).bit4)
#define	T1C_L	(*((__RAM unsigned int*)0xdb))
#define	FT1C7	((*((__RAM struct specialRegister *)0xdb)).bit7)
#define	FT1C6	((*((__RAM struct specialRegister *)0xdb)).bit6)
#define	FT1C5	((*((__RAM struct specialRegister *)0xdb)).bit5)
#define	FT1C4	((*((__RAM struct specialRegister *)0xdb)).bit4)
#define	FT1C3	((*((__RAM struct specialRegister *)0xdb)).bit3)
#define	FT1C2	((*((__RAM struct specialRegister *)0xdb)).bit2)
#define	FT1C1	((*((__RAM struct specialRegister *)0xdb)).bit1)
#define	FT1C0	((*((__RAM struct specialRegister *)0xdb)).bit0)
#define	T1C_H	(*((__RAM unsigned int*)0xdc))
#define	FT1C15	((*((__RAM struct specialRegister *)0xdc)).bit7)
#define	FT1C14	((*((__RAM struct specialRegister *)0xdc)).bit6)
#define	FT1C13	((*((__RAM struct specialRegister *)0xdc)).bit5)
#define	FT1C12	((*((__RAM struct specialRegister *)0xdc)).bit4)
#define	FT1C11	((*((__RAM struct specialRegister *)0xdc)).bit3)
#define	FT1C10	((*((__RAM struct specialRegister *)0xdc)).bit2)
#define	FT1C9	((*((__RAM struct specialRegister *)0xdc)).bit1)
#define	FT1C8	((*((__RAM struct specialRegister *)0xdc)).bit0)
#define	STKP	(*((__RAM unsigned int*)0xdf))
#define	FGIE	((*((__RAM struct specialRegister *)0xdf)).bit7)
#define	FSTKPB2	((*((__RAM struct specialRegister *)0xdf)).bit2)
#define	FSTKPB1	((*((__RAM struct specialRegister *)0xdf)).bit1)
#define	FSTKPB0	((*((__RAM struct specialRegister *)0xdf)).bit0)
#define	P0UR	(*((__RAM unsigned int*)0xe0))
#define	P1UR	(*((__RAM unsigned int*)0xe1))
#define	P2UR	(*((__RAM unsigned int*)0xe2))
#define	P3UR	(*((__RAM unsigned int*)0xe3))
#define	P5UR	(*((__RAM unsigned int*)0xe5))
#define	_YZ	(*((__RAM unsigned int*)0xe7))
#define	P1OC	(*((__RAM unsigned int*)0xe9))
#define	STK7L	(*((__RAM unsigned int*)0xf0))
#define	STK7H	(*((__RAM unsigned int*)0xf1))
#define	STK6L	(*((__RAM unsigned int*)0xf2))
#define	STK6H	(*((__RAM unsigned int*)0xf3))
#define	STK5L	(*((__RAM unsigned int*)0xf4))
#define	STK5H	(*((__RAM unsigned int*)0xf5))
#define	STK4L	(*((__RAM unsigned int*)0xf6))
#define	STK4H	(*((__RAM unsigned int*)0xf7))
#define	STK3L	(*((__RAM unsigned int*)0xf8))
#define	STK3H	(*((__RAM unsigned int*)0xf9))
#define	STK2L	(*((__RAM unsigned int*)0xfa))
#define	STK2H	(*((__RAM unsigned int*)0xfb))
#define	STK1L	(*((__RAM unsigned int*)0xfc))
#define	STK1H	(*((__RAM unsigned int*)0xfd))
#define	STK0L	(*((__RAM unsigned int*)0xfe))
#define	STK0H	(*((__RAM unsigned int*)0xff))
#define SLEEPMODE __asm{SleepMode}
#define GREENMODE __asm{GreenMode}
#define SLOWMODE __asm{SlowMode}
#define SLOW2NORMAL __asm{Slow2Normal}
#endif
