Hello
This patch enable to use:
#pragma exclude bits
In order to avoid having the automatic pushing of the bits "register" by
interrupts handlers even if no code use them.
Thanks,
Philippe
Index: src/mcs51/gen.c
===
--- src/mcs51/g
Hello
The _divulong function use a bool variables, but this is not optimal:
- this force the use of the "T" reg as soon as a 32bit division is used on
mcs51, thus potentially reducing the stack size up to 24 bytes.
- This force the compiler to use a bit, which produce suboptimal code
- This does
Hello
The _divuint function use a bool variables, but this is not optimal:
- this force the use of the "T" reg as soon as a 16bit division is used on
mcs51, thus potentially reducing the stack size up to 24 bytes.
- This force the compiler to use a bit, which produce suboptimal code
- This does