On 6/18/07, Mark Rages <markrages@gmail.com> wrote:
On 6/18/07, soliton <soliton.list@gmail.com> wrote:
> Hello,
>
> In other C compiler, one could express binary number in following form:
>
> unisgned char i;
> i = 0b00001010;
>
> But it seems that this statement is invalid in sdcc. Are there any other way
> to express binary number in SDCC?
> I don't want the hexadecimal expression like i = 0x0a
>
> TIA
>

macro at http://sourceforge.net/tracker/index.php?func=detail&aid=882215&group_id=599&atid=350599

--
Mark Rages, Engineer
Midwest Telecine LLC
markrages@midwesttelecine.com


Thanks Mark, for the quick reply. I have been searching through sdcc manual and google, yet I could not find what I am looking for. I don't know there is a collection of macro in sdcc page. Thanks.




--
soliton