On Feb 17, 2007, at 12:24 PM, Mark Rages wrote:
>> There is no printf format specifier for binary in C... You have to  
>> write such
>> a function yourself.
>
> That's not what I asked.  In Microchip asm, I can type an integer
> constant in binary as b'00000000'.  I was wondering if SDCC supports
> something similar.

   I do stuff like that in hex.  I find that it's pretty much  
"automatic" in my brain if I visualize four bits at a time being one  
hex digit.

            -Dave

-- 
Dave McGuire
Port Charlotte, FL



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to