A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-6646F015-1C75-4B1F-9B18-A86A072BCA65
Visible to Intel only — GUID: GUID-6646F015-1C75-4B1F-9B18-A86A072BCA65
Binary Constants
A binary constant is an alternative way to represent a numeric constant. A binary constant takes one of the following forms:
B'd[d...]'
B"d[d...]"
d |
Is a binary (base 2) digit (0 or 1). |
You can specify up to 128 binary digits in a binary constant.
Examples
B'0101110' |
B"1" |
B'0112' |
The character 2 is invalid. |
B10011' |
No apostrophe after the B. |
"1000001" |
No B before the first quotation mark. |