From: Sandeep D. <sa...@wi...> - 2002-01-30 15:42:10
|
A little bit more on the changes --parms-in-bank1 (ds390/mcs51) -- when this option is set the compiler will pass parameters using bank1 registers. The first parameter will be passed in DPTR:b:a (as before) the second parameter onwards 8 more bytes will be passed in b1_0 thru b1_7... i.e. with this option set we can pass up to 12 bytes of parameter in registers. The libraries will need to be rebuilt with this option , the interrupt service routines will save and restore this bank ...using bank1 in a interrupt service routine will have BAD consequences .. I have fixed up the optimized assembler routines in the library to work with this option as well . --protect-sp-update (ds390) will disable interrupts when updating ESP:SP. The DS390 port can now allocate DPTR1 to live ranges , currently only for pointer variables (size <= 3), infrastructure added for more DPTRS. Dhrystone for ds390 now stands at 504 . Sandeep |