1 /** DS390/DS400 specific features.
3 #ifndef __SDC51_ASM_DS390_FEATURES_H
4 #define __SDC51_ASM_DS390_FEATURES_H 1
6 #define _REENTRANT __reentrant
9 /* define _AUTOMEM to indicate the default storage class for
10 automatic variables. To be used with pointers to automatic variables.
11 Cannot be used in reentrant declared functions!
16 char _AUTOMEM * pAr = Ar;
19 #if defined(SDCC_STACK_AUTO)
20 #if defined(SDCC_USE_XSTACK)
21 #define _AUTOMEM __pdata
22 #elif defined(SDCC_STACK_TENBIT)
23 #define _AUTOMEM __xdata
25 #define _AUTOMEM __idata
27 #elif defined(SDCC_MODEL_SMALL)
28 #define _AUTOMEM __data
30 #define _AUTOMEM __xdata
33 /* define _STATMEM to indicate the default storage class for
34 global/static variables. To be used with pointers to static variables.
39 char _STATMEM * pAr = Ar;
42 #if defined(SDCC_MODEL_SMALL)
43 #define _STATMEM __data
45 #define _STATMEM __xdata