"Thomas D. Dean" <tomd...@speakeasy.org> 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. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to