avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] inline asm problem


From: whiteman
Subject: [avr-gcc-list] inline asm problem
Date: Thu, 12 Feb 2004 9:18:37 +0800

hi,all:
       I want to write a simple inline asm statement in "main" function. but 
when compiling the source, I always received a error message "pwm.c:27: error: 
impossible constraint in `asm'". what's meaning?
My inline asm is :
                        asm volatile("sbi 0,1" : "=I"(PORTC) : "I"(6));

        
                                

        whiteman
address@hidden
          2004-02-12





reply via email to

[Prev in Thread] Current Thread [Next in Thread]