bitwise operation

hello,
i m implementing a pc keyboard logic.
pc keboard signals are transmitted serially to port pin.
i want to know how to do bitwise shifting in 'c' for reception as well as for transmission to get the data present on port pin.
i did it in assembly using RRC A.
can i used accumulator and carry flag directly in 'c'?
my code is proper but i hav problem in data management
thank u all.

More questions in this forum