How about replacing the "2500" with "2500L"? Florian Hillen <[email protected]> wrote: Hello,
I have some simple division like: unsigned int Uv = 2500 * 25; Uv = Uv / 4095; An it does not modify Uv. In the disassambliy of udivmodhi, the right answer is generatet but it is not written back to the right register. Debian linux gcc 3.2.3 msp-gcc build from cvs a few days ago Do you know this problem? Salutations Florian from Koblenz in Germany ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
