Re: [Sdcc-user] Differences between large and medium model for mcs51

2009-01-02 Thread Colin D Bennett
On Fri, 02 Jan 2009 14:54:26 +0100 Frieder Ferlemann wrote: > Hi Mark, > > Maarten Brock schrieb: > > The difference is that medium model puts the variables > > in pdata and large in xdata. Pdata (max. 256 bytes) is > > smaller than xdata (max. 64kB) but can be accessed with > > two pointers

[Sdcc-user] SDCC internal compiler error

2008-12-16 Thread Colin D Bennett
I have encountered an internal compiler error when compiling a particular bit of code for the 8051 (mcs51) using the large memory model and a re-entrant function. If the small memory model is used or if the function is made non-reentrant, then it compiles successfully (although the generated code