Hi, On the following line
asm ("sbi %0, %1": "=I"(PORTC):"I" (4));
I keep getting impossible constraint.
The problem seems to be that no constraint (letter) (I tried them all) seem to be compatible with the lvalue of PORTC (or any other port). But if you diable the lvalue mechanism in sfr_defs.h then it complaints understandibly about that output needs an lvalue. Is there a way around this problem?
I am using studio 4 version 4.12 + service pack 4 and winAVR 2008 06 10.