>>in the sdcc manual I read:
>> "If any bit variables are used, the data variables
>> will be placed IN UNUSED REGISTER BANKS and after the
>> byte holding the last bit variable."
>> but compiling a project with sdcc 2.4.0
Have you considered that the manual is for sdcc 2.4.8 and you're using
sdcc 2.4.0? My answer to your previous question about this was to use the
latest snapshot. My answer to this is TO USE THE LATEST SNAPSHOT.
And if you really are not willing to install the latest snapshot, you can
use the option --pack-iram.
Hope this helps,