From: sandeep Date: Wed, 30 Jan 2002 04:13:36 +0000 (+0000) Subject: Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51) X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1ed2739f2173e7e9755a87667e66462b32b0f0bb;p=fw%2Fsdcc Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1863 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCglobl.h b/src/SDCCglobl.h index ef7d64ed..df96d5be 100644 --- a/src/SDCCglobl.h +++ b/src/SDCCglobl.h @@ -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 */