git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1878
4a8a32a2-be11-0410-ad9d-
d568d2c75423
#define al dpl
#define ah dph
-#ifdef SDCC_STACK_AUTO
+#if defined(SDCC_STACK_AUTO) && !defined(SDCC_PARMS_IN_BANK1)
ar0 = 0 ; BUG register set is not considered
ar1 = 1
#else // SDCC_STACK_AUTO
+#if !defined(SDCC_PARMS_IN_BANK1)
#if defined(SDCC_NOOVERLAY)
.area DSEG (DATA)
#else
#define bl (__moduint_PARM_2)
#define bh (__moduint_PARM_2 + 1)
-
+#else
+ #define bl (b1_0)
+ #define bh (b1_1)
+#endif
#endif // SDCC_STACK_AUTO
mov a,bl ; avoid endless loop