----- Original Message ----- > > I do not get ".global flg_one"
> This is simply not true. 2.3.2 and later emit this line.
Whooops! You are right, I do get ".global _flg_one"(I must be getting old).
I still needed sbits to be declared global, as I have several modules like
a buzzer sounding module, serial ADC module etc. in the form of rel files,
where the actual port line connected to the buzzer etc is not known till
link time. These rel files (for clarity)refer to the port lines as BUZZER ,
CS_ADC etc. rather than P1_0 etc. Hence if I say "sbit at 0x90 BUZZER", then
this is directly passed on to my module if there is a ".globl _BUZZER" in
Any way, thanks a lot for your patience!