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

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

[avr-gcc-list] __udivmodsi4 uses r1


From: Lin Gu
Subject: [avr-gcc-list] __udivmodsi4 uses r1
Date: Tue, 8 Mar 2005 01:50:55 -0500

Hi,

I find that __udivmodsi4 (implemented in libgcc.S) uses r1
to store a non-zero value. Is there a specific reason for this?

This usage somehow breaks one of my programs which assume
r1 is always zero. Though it's easy to fix my program, I am wondering
why here r1 is used this way.

Cheers,

lin
--
Lin Gu
University of Virginia




reply via email to

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