[Top][All Lists]

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

Re: [avr-gcc-list] Inline assembler question

From: Tvrtko Ursulin
Subject: Re: [avr-gcc-list] Inline assembler question
Date: Tue, 17 Jun 2003 06:55:59 +0200
User-agent: KMail/1.5.1

On Tuesday 17 June 2003 00:00, Marko Panger wrote:

> My nervous are satrting to, because I am unable to load and address of a
> global defined variable in the inline assembler. I would like to do
> something like that:

Maybe this will help:

                                "ldi r30, pm_lo8(_kernel)\n\t" \
                                "ldi r31, pm_hi8(_kernel)\n\t" \

In this case, _kernel is a function but I think it should be the same as 

reply via email to

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