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

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

AW: [avr-gcc-list] problem with inline asm


From: Haase Bjoern (PT-BEU/EMT) *
Subject: AW: [avr-gcc-list] problem with inline asm
Date: Thu, 20 Jan 2005 09:54:14 +0100

Try to use 
asm volatile ("adiw %0, 1"      "\n\t"
               : "+x" (tovr)
               : );

"+" means that the operand is "both read and written". 
Please report, whether this has worked.

Yours,

Björn


reply via email to

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