[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Problem With Call to Mulsi3
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Problem With Call to Mulsi3 |
Date: |
Tue, 17 Feb 2009 07:05:40 +0100 (MET) |
"Thomas D. Dean" <address@hidden> wrote:
> However, I cannot find where r21:18 are set in the code.
For me, they always get set right before the call:
b6: 29 e2 ldi r18, 0x29 ; 41
b8: 39 e0 ldi r19, 0x09 ; 9
ba: 40 e0 ldi r20, 0x00 ; 0
bc: 50 e0 ldi r21, 0x00 ; 0
be: 0e 94 72 00 call 0xe4 ; 0xe4 <__mulsi3>
So you'd have to explain which compiler version exactly you are using
(including patches).
Btw., when using floating-point, please do /always/ append -lm to the
linker command-line (but it doesn't change anything in your case).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)