On Mon, Feb 1, 2010 at 6:29 PM, Maarten Brock <sourceforge.br...@dse.nl>wrote:
> Hi,
>
> I wanted to reply:
>
> __sbit __at (&PSW + 7) CY;
>
> But that also doesn't seem to work. So the only option is to do the math
> yourself.
>
>
What a pity... But what about the
# define SBIT(name, addr, bit) __sbit __at(addr+bit)
name
code in compiler.h?
--
Cheers,
Grissiom
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user