From: Vangelis Rokas <vrokas@ot...> - 2004-11-15 22:41:00
On Mon, 15 Nov 2004, George M. Gallant wrote:
> I think there is a problem using --flr-support. WREG and FSR0L are needed
> to return results!
Yes, the option is buggy, and its use should be prohibited. Sorry, for the
mess I didn't meant to add a buggy feature, but I though I would find a way
to overcome this problem. Now it seems that although the FSR0L can be left
untouched, WREG is almost impossible without using ad hoc hacks that extend
beyond the scope of this feature/optimization. So I decided to disable this
for the next versions.
Attached are a test progam (main.c) and a copy of the output
that fail with build #880 on Nov 15,2004. I have looked at the generasted
assembler code and it appears that sdcc does not generate code to
preform -a and -b. It just pushes unititialized variables on the stack.
Get latest updates about Open Source Projects, Conferences and News.