Is is possible to have a routine with an sbit as a parmeter?
This is true, but this thread is about C166 - not C51.
I don't know the C166 at all - does it have indirect access to SFRs and/or bits within SFRs...?