From: SourceForge.net <no...@so...> - 2005-07-02 00:00:06
|
Bugs item #817980, was opened at 2003-10-05 04:35 Message generated for change (Comment added) made by tecodev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=817980&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pic14 target >Group: unreproducable Status: Open >Resolution: Works For Me Priority: 5 Submitted By: David Brainerd (brainerdd) Assigned to: Nobody/Anonymous (nobody) Summary: register allocation problem Initial Comment: The compiler is using a RAM register, r0x20 without reserving space for it. Also, note in the delay.asm file in the section for the delay50uS function that r0x20 is used instead of r0x6C, r0x6D, and r0x6E. Also, if I make the variables in the function global rather than local, the correct registers are allocated. I am using the windows 10/04/2003 build on Windows 98SE. The foloowing is the command used C:\sdcc\bin\sdcc.exe -S -mpic14 -p16f877 C:\sdcc\PIC\delay.asm ---------------------------------------------------------------------- >Comment By: Raphael Neider (tecodev) Date: 2005-07-02 00:00 Message: Logged In: YES user_id=1115835 Works with SDCC 2.5.1 #1053. I will close this in less than two years time if nobody disagrees ;-) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=817980&group_id=599 |