avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Bug in attiny2313 support ?


From: Frederik Rouleau
Subject: [avr-gcc-list] Bug in attiny2313 support ?
Date: Fri, 17 Dec 2004 11:09:55 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

Hello,

When I compile one of my code for attiny2313 I have the following error :

   /Temp/cck4qsmk.s: Assembler messages:
   /Temp/cck4qsmk.s:289: Error: illegal opcode mul for mcu attiny2313


I have in the .lst file :

    126:serial.c      ****                 uint8_t lum = (uint16_t)(lu
   * arg) / 255;
    287                   .LM23:
    288 ???? 8091 0000         lds r24,lu
    289 ???? 8C9F              mul r24,r28
   ****  Error:illegal opcode mul for mcu attiny2313

I am using binutils 2.15.94 20041215, avr-gcc 4.0.0 20041205 and avr-libc from cvs HEAD.

It seems that attiny2313 is considered as an "avr4" architecture as the atMega8, 88, 168. But those latest have instruction not supported by atTiny.
This problem should probably also occured for attiny13.

Sould I submit a bug report ? And where (gcc, binutils...) ?

Regards,




reply via email to

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