git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2864
4a8a32a2-be11-0410-ad9d-
d568d2c75423
* src/mcs51/gen.c (genNearPointerGet): don't pop r0/r1, if RESULTONSTACK
* src/mcs51/gen.c: changed order of freeAsmop(left/right/result)-calls.
If they pop r0/r1 they must be called in the opposite order than aopOp().
+ * device/lib/_mullong.c: fixed for "--model-large --int-long-reent"
+ (resp. --stack-auto), prepared for --xstack
2003-08-28 Frieder Ferlemann <Frieder.Ferlemann@web.de>
unsigned long l;
struct { unsigned char b0; unsigned int i12; unsigned char b3;} bi;
} ;
-#if defined(SDCC_MODEL_LARGE) || defined (SDCC_ds390)
+#if defined(SDCC_USE_XSTACK)
+# define bcast(x) ((union bil pdata *)&(x))
+#elif (defined(SDCC_MODEL_LARGE) || defined (SDCC_ds390)) && !defined(SDCC_STACK_AUTO)
# define bcast(x) ((union bil xdata *)&(x))
#elif defined(__z80) || defined(__gbz80)
# define bcast(x) ((union bil *)&(x))