avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] How to specifiy binary constants ?


From: Preston Wilson
Subject: Re: [avr-gcc-list] How to specifiy binary constants ?
Date: Sat, 03 Jan 2009 23:50:24 -0500
User-agent: Microsoft-Entourage/11.4.0.080122

"Vincent Trouilliez" wrote:

> what is the syntax to specify a binary constant (something like
> say "b000010101" ?). I can't find this information in the avr-libc
> manual, but I swear that 2/3 years ago, Joerg said that this would be
> soon implemented, so 3 years later I am hoping it's available ! :-)

There is a GCC extension that supports binary constants:
http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html

I have not used it, but I ran across the documentation while looking at
other extensions.

-Preston






reply via email to

[Prev in Thread] Current Thread [Next in Thread]