OMG. My point of view:
Current wersion PIC16 is OK. We have sfr16 keyword and proper libdev.
In libdev is space allocated for  REGL and REGH. Thus for REG too.
In user header files we have declarations:
extern __at(addr) __sfr REGL;
extern __at(addr+1) __sfr REGH;  
extern __at(addr) __sfr REG; //3
In current state REG duplicates REGL
Change declaration 3 (for user programs, NOT for create libdev ) to
extern __at(addr) __sfr16 REG; 
break nothing and allow use word registers.

The same is for PIC14, except sfr16 is not keyword.

Albert





------------------------------------------------------------------------------
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. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to