Hello!

sfr16 keyword exist for pic16.
There is no reason for discard it from pic14 implementation.

Together with change duplicate SFR names in non-free include files from ie:

extern __at(0x000F) __sfr TMR1;
extern __at(0x000F) __sfr TMR1L;
...
to 

extern __at(0x000F) __sfr16 TMR1;
extern __at(0x000F) __sfr TMR1L;
...

add it should be nice feature.


-------------sdcc/src/pic14/main.patch-------------
--- main.c.org  2013-01-10 08:21:49.000000000 +0100
+++ main.c      2013-01-10 10:38:38.603376701 +0100
@@ -60,6 +60,7 @@
   "pdata",
   "reentrant",
   "sfr",
+  "sfr16",
   //"sbit",
   "using",
   "xdata",
---------------------------------------------------

 
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. 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