REGBASE		EQU	$0000

PORTA		EQU	REGBASE+$0000
DDRA		EQU	REGBASE+$0001
PORTG		EQU	REGBASE+$0002
DDRG		EQU	REGBASE+$0003
PORTB		EQU	REGBASE+$0004
PORTF		EQU	REGBASE+$0005
PORTC		EQU	REGBASE+$0006
DDRC		EQU	REGBASE+$0007
PORTD		EQU	REGBASE+$0008
DDRD		EQU	REGBASE+$0009
PORTE		EQU	REGBASE+$000A
CFORC		EQU	REGBASE+$000B
OC1M		EQU	REGBASE+$000C
OC1D		EQU	REGBASE+$000D
TCNT		EQU	REGBASE+$000E
TIC1		EQU	REGBASE+$0010
TIC2		EQU	REGBASE+$0012
TIC3		EQU	REGBASE+$0014
TOC1		EQU	REGBASE+$0016
TOC2		EQU	REGBASE+$0018
TOC3		EQU	REGBASE+$001A
TOC4		EQU	REGBASE+$001C
TI4O5		EQU	REGBASE+$001E
TCTL1		EQU	REGBASE+$0020
TCTL2		EQU	REGBASE+$0021
TMSK1		EQU	REGBASE+$0022
TFLG1		EQU	REGBASE+$0023
TMSK2		EQU	REGBASE+$0024
TFLG2		EQU	REGBASE+$0025
PACTL		EQU	REGBASE+$0026
PACNT		EQU	REGBASE+$0027
SPCR		EQU	REGBASE+$0028
SPSR		EQU	REGBASE+$0029
SPDR		EQU	REGBASE+$002A
BAUD		EQU	REGBASE+$002B
SCCR1		EQU	REGBASE+$002C
SCCR2		EQU	REGBASE+$002D
SCSR		EQU	REGBASE+$002E
SCDR		EQU	REGBASE+$002F
ADCTL		EQU	REGBASE+$0030
ADR1		EQU	REGBASE+$0031
ADR2		EQU	REGBASE+$0032
ADR3		EQU	REGBASE+$0033
ADR4		EQU	REGBASE+$0034
BPROT		EQU	REGBASE+$0035

OPT2		EQU	REGBASE+$0038
OPTION		EQU	REGBASE+$0039
COPRST		EQU	REGBASE+$003A
PPROG		EQU	REGBASE+$003B
HPRIO		EQU	REGBASE+$003C
INIT		EQU	REGBASE+$003D
TEST1		EQU	REGBASE+$003E
CONFIG		EQU	REGBASE+$003F

CSSTRH		EQU	REGBASE+$005C
CSCTL		EQU	REGBASE+$005D
CSGADR		EQU	REGBASE+$005E
CSGSIZ		EQU	REGBASE+$005F

RAMBASE         EQU     $80
RAMEND          EQU     $3FF
ROMBASE         EQU     $8000

E2START		EQU	$7E00
E2END		EQU	$7FFF

EEPGM		EQU	$01
EELAT		EQU	$02
ERASE		EQU	$04
