accessing bit of any variable (using bdata) : for spi feature

hello everybody
i think to implement spi feature using 8051
so i use shift register

for accessing individual bit i copy that variable in bit addressable memory area using bdata data type

can any one help me how i copy individual bit to port 0_1 one after another by using bdata

More questions in this forum