#ifndef _adsreg58_h_
#define _adsreg58_h_

#define DSP_NUMBYTES           2
#define BYTES_PER_MOVEP_OPCODE 3

/* ADS register offsets */
#define ADS_X0 		0
#define ADS_A0 		1
#define ADS_A1 		2
#define ADS_A2 		3
#define ADS_B0 		4
#define ADS_B1 		5
#define ADS_B2 		6
#define ADS_LA 		7
#define ADS_LC 		8
#define ADS_M01		9
#define ADS_N 		10
#define ADS_OMR		11
#define ADS_R0 		12
#define ADS_R1 		13
#define ADS_R2 		14
#define ADS_R3 		15
#define ADS_SP 		16
#define ADS_SR 		17
#define ADS_HWS		18
#define ADS_Y0 		19
#define ADS_Y1 		20
#define ADSCOREMAX      21

#define ADS_A 		0
#define ADS_B 		0
#define ADS_Y 		0
#define ADS_PC 		0
#define ADS_BCR		0
#define ADS_IPR		0
#define ADS_PCR1         0
#define ADS_PCR0         0

/* OnCE REGISTERS */
#define REG_OPDBR 	0
#define REG_OPILR 	1
#define REG_OCNTR 	2
#define REG_OCR 	3
#define REG_OBAR 	4
#define REG_OPGDBR 	5
#define REG_OBAR2 	6
#define REG_OBMSK2 	7
#define REG_OBCTL2 	8
#define REG_OPABFR 	9
#define REG_OPABER      10
#define REG_OPABDR 	11
#define REG_OPABF0 	12
#define REG_OPABF1 	13
#define REG_OPABF2 	14
#define REG_OPABF3	15
#define REG_OPABF4 	16
#define REG_OPABF5 	17
#define REG_OPABF6 	18
#define REG_OPABF7	19
#define REG_OSR         20
#define HONCEMAX 21

#define ADS_OMR_EX 0x8L /* OMR EX bit */

#endif /* _adsreg58_h_ */
