Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hexspeak
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Alternative letters == Many computer languages require that a hexadecimal number be marked with a prefix or suffix (or both) to identify it as a number. Sometimes the prefix or suffix is used as part of the word. * The [[C (programming language)|C programming language]] uses the "0x" prefix to indicate a hexadecimal number, but the "0x" is usually ignored when people read such values as words. C also allows the suffix L to declare an integer as <code>long</code>, or LL to declare it as <code>long long</code>, making it possible to write "0xDEADCELL" (dead cell). In either case a U may also appear in the suffix to declare the integer as <code>unsigned</code>, making it possible to write "0xFEEDBULL" (feed bull). * In the (non-Unix) [[x86-assembly|Intel assembly language]], hexadecimal numbers are denoted by a "h" suffix, making it possible to write "0beach" (beach). Note that numbers in this notation that begin with a letter must be prefixed with a zero to distinguish them from variable names. A Unix-style assembler uses C language convention instead (but non-Unix-style assemblers are also available on x86 Unix-type OSes). * [[Visual Basic]] and all previous Microsoft BASICs such as QuickBasic, GWBasic, BASICA and ColorBASIC, use a &H prefix, for example, "&HEADED" (headed) and "&HADC0FFEE" (had coffee). * In Pascal and several [[assembly language]]s ([[6502]],[[6809]],...), hexadecimal numbers are denoted by a "$" prefix. This allows for words starting with the letter "S", for example "$EED" (seed). * In [[Elektronika B3-34|B3-34]] [[programmable calculator]]s, an alternative hexadecimal alphabet was used, where the symbols "β", "L", "C", "Π", "E", and " " (space) were used instead of Latin letters. Using these, it was possible to display messages like "EΠΠ0Π" (error).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)