Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51)
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 30 Jan 2002 04:13:36 +0000 (04:13 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 30 Jan 2002 04:13:36 +0000 (04:13 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1863 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCglobl.h

index ef7d64ed2c001bc5707cca0459f483843abe03d8..df96d5be1668b1216953fde9dc8441ec53455c84 100644 (file)
@@ -242,6 +242,8 @@ struct options
     int all_callee_saves;      /* callee saves for all functions */
     int stack_probe;            /* insert call to function __stack_probe */
     int tini_libid;            /* library ID for TINI */
+    int protect_sp_update;     /* DS390 - will disable interrupts during ESP:SP updates */
+    int parms_in_bank1;        /* DS390 - use reg bank1 to pass parameters */
     olay olays[128];            /* overlay segments used in #pragma OVERLAY */
     /* starting address of the segments */
     int xstack_loc;            /* initial location of external stack */