Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
mece
Posts: 21
Registered: ‎03-23-2011
0

Binary Numbers

How can i represent binary numbers in microblaze C ?

 

int a = 0x10;

int b = 0b00101010;

 

does not work.

Contributor
leon_heller
Posts: 16
Registered: ‎02-28-2008
0

Re: Binary Numbers

Binary representation isn't standard C, although it is supported by some compilers.

Leon Heller