[Top][All Lists]

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

Re: [avr-gcc-list] subroutine and 8bit types...

From: Rich Neswold
Subject: Re: [avr-gcc-list] subroutine and 8bit types...
Date: Wed, 10 Oct 2001 12:38:23 -0500
User-agent: Mutt/1.2.5i

Wasn't it 10-Oct-2001, at 01:42PM, when Dmitry said:
> will be more efficient. But compiler complains about void return.

You can add __attribute__((naked)) to the function definition. Then, you'll
have to add the return instruction to your inline assembly.

 Rich Neswold

 efax: 1.240.536.7092
  web: www.enteract.com/~rneswold/

Attachment: pgpfPhL8uAs5C.pgp
Description: PGP signature

reply via email to

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