[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] problem with inline asm
From: |
Jarmo Blomster |
Subject: |
RE: [avr-gcc-list] problem with inline asm |
Date: |
Thu, 20 Jan 2005 18:42:36 +0200 |
Hi,
Fine that helps, thank you.
Now the code seems to be like it should.
89:main.c **** asm volatile (
213 .LM3:
214 /* #NOAPP */
215 0004 A091 0000 lds r26,tovr
216 0008 B091 0000 lds r27,(tovr)+1
217 /* #APP */
218 000c 1196 adiw r26, 1
219
220 /* #NOAPP */
221 000e B093 0000 sts (tovr)+1,r27
222 0012 A093 0000 sts tovr,r26
90:main.c **** "adiw %0, 1" "\n\t"
91:main.c **** : "+x" (tovr)
92:main.c **** :
93:main.c **** );
//Jarmo