avr-chat
[Top][All Lists]
Advanced

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

RE: [avr-chat] gnu-as: Error: invalid sections for operation on `Confi


From: Schwichtenberg Knut
Subject: RE: [avr-chat] gnu-as: Error: invalid sections for operation on `ConfigDescriptor' and `L0'
Date: Wed, 25 May 2005 13:46:05 +0200

 Jorgen,

Replace your high/high_rom macros by HIGH/hi8 low LOW/lo8. That's it. 

Cheers

Knut

> ComposeGET_STATUS2:
>               ldi     ZH, high_rom(StatusAnswer<<1)   
> ;ROMpointer to  answer
>               ldi     ZL,  low(StatusAnswer<<1)
>               rjmp    ComposeEndXXXDescriptor         ;and complete
> 
> -----
> Defines:
> #define high_rom(x) ((x)>>8)
> #define low(x) ((x) & 0xFF)
> 
> 
> 
> 
> 
> Attached is the assembler file.
> 
> > On Wed, May 25, 2005 at 10:37:35AM +0200, Jörgen Birkler wrote:
> >> Trying to port Igor Ceskos USB code to GNU assembler, but getting
> errors
> >> I
> >> do not understand.
> >
> >    If you could post a few offending lines and their error 
> messages, we
> > should be able to offer some advice.
> >
> > Erik
> >
> 
> 
> 
> 
> 




reply via email to

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