Hello everyone, A new memory model was introduced today for the mcs51 called huge (-- model-huge). It uses bankswitching to call all functions. It passes our regression test suite, but without any real bankswitching in the simulator, so it might still be buggy. It also creates quite some overhead both in code memory and on the (small) stack. If you intend to use it with --stack-auto (not tested yet) you might run out-of stack space. Using --xstack could resolve that at the price of even more code memory being used.
I also changed printf_large.c (the default printf implementation) to always support printing floats when either --model-huge or --xstack is used. Currently the huge library is not built automatically and thus not present in the binary distributions. If there is demand for that please ask. Greetings, Maarten ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user