Hi all : )
I'm looking how to read CARRY flag from SREG after certain operation - LEFT SHIFT.
Sample code is following:
char carry; char data; data = data<<1; // There I need to read bit that was shifted out into carry
It is clear to me this is job for inline ASM, but I never work with ASM in C.
Can you give me some advice?