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=1
DDD0	=0

PIND6	=6
PIND5	=5
PIND4	=4
PIND3	=3
PIND2	=2
PIND1	=1
PIND0	=0

RXC  =7
TXC  =6
UDRE =5
FE   =4
OR   =3

RXCIE	=7
TXCIE	=6
UDRIE	=5
RXEN	=4
TXEN	=3
CHR9	=2
RXB8	=1
TXB8	=0

ACD	  =7
ACO	  =5
ACI	  =4
ACIE  =3
ACIC  =2
ACIS1 =1
ACIS0 =0

XL	=r26
XH	=r27
YL	=r28
YH	=r29
ZL	=r30
ZH	=r31

RAMEND  =0xDF    ;Last On-Chip SRAM Location
XRAMEND =0xDF
E2END	=0x7F
FLASHEND=0x3FF

INT0addr=001	;External Interrupt0 Vector Address
INT1addr=002	;External Interrupt1 Vector Address
ICP1addr=003	;Input Capture1 Interrupt Vector Address
OC1addr =004	;Output Compare1 Interrupt Vector Address
OVF1addr=005	;Overflow1 Interrupt Vector Address
OVF0addr=006	;Overflow0 Interrupt Vector Address
URXCaddr=007	;UART Receive Complete Interrupt Vector Address
UDREaddr=008	;UART Data Register Empty Interrupt Vector Address
UTXCaddr=009	;UART Transmit Complete Interrupt Vector Address
ACIaddr =00a	;Analog Comparator Interrupt Vector Address

