On 6/18/07, Mark Rages <[EMAIL PROTECTED]> wrote:

On 6/18/07, soliton <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]



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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to