Hi,

>> It does? Well, that would be news to me ... Does it work?!?
>
> Yes, and works fine. As pic14 with patch from my previous post.
> ...

Now, that's cool ... I'll probably uncomment it then. Not sure what
the code transformations (aka optimizations in the backend) make of
it, but one could surely give it a try.

>> I agree that this feature would be nice. However, this needs support
>> in the code generator and (equally important) in the linker (gputils'
>> gplink): Currently gputils do not like two symbols (TMR1 and TMR1L)
>> occupying the same memory location (0x000F).
>> Unless someone volunteers to implement both sides (or multiple
>> volunteers step forward, together covering both sides ...), I do not
>> see this being implemented any time soon.
>> It is not sufficient to just "allow" the keyword and hope that
>> everything else just magically falls into place.
>>
>> Sorry to disappoint you.
>>
>
> No problem, for me it work well with only allow the keyword.
> Just want to share.

So code generation is ready (and a lot of things actually just fall
into place -- its magic :-D).
Did you also already use overlapping SFR definitions (TMR1 and TMR1L above)?

> See:
> ----------------------------file flash.c -----------------------------

Looks good indeed. Thanks for the report!

Raphael

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to