Re: [Flashforth-devel] Warnings from assembler
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2022-12-28 09:34:56
|
Those registers are defined by avrasm2 to be xl, xh, zl, zh Thats why it complains. I have moved to XC8. It does not complain about what you have mentioned. BR Mikael On 2022-12-28 10:33, Helge Kruse wrote: > I get some compiler diagnostic messages: > > avr/src/macros.inc(39): warning: Register r26 already defined by the > .DEF directive > avr/src/ff-atmega.asm(35): info: 'avr/src/macros.inc' included from > here > > The source code line macros.inc#39 defines the symbold t4: > > .def t4 = r26 > > (The "already defined" warning also occurs for the registers r27, r30, > and r31. ) Why does the assmbler complains about r26 as already > defined? > Where is it defined elsewehere? I can't find a second #include > statement > that would cause the file macros.inc included twice. Did I miss > something? > > There is also a warning about "Use of undefined or forward referenced > symbol". |