Hexspeak, like leetspeak, is a novelty form of variant English spelling. Leet or Eleet (sometimes rendered l33t, 1337, or 31337) also known as Leetspeak, is an Alphabet used primarily on the English is a West Germanic language originating in England and is the First language for most people in the United Kingdom, the United States
Hexspeak was created by programmers who wanted a magic number, a clear and unique identifier with which to mark memory or data. In Computer programming, the term magic number has multiple meanings Using hexadecimal notation, which includes the digits 0123456789ABCDEF, it is possible to create small words with the digit "0" representing the letter "O", "1" representing the letter "I", and "5" representing "S". In Mathematics and Computer science, hexadecimal (also base -, hexa, or hex) is a Numeral system with a
Notable magic numbers
Many computer processors, operating systems, and debuggers make use of magic numbers, especially as a magic debug value. An operating system (commonly abbreviated OS and O/S) is the software component of a Computer system that is responsible for the management and coordination A debugger is a Computer program that is used to test and Debug other programs In Computer programming, the term magic number has multiple meanings
- 0xABADBABE ("a bad babe") is used by Apple as the "Boot Zero Block" magic number.
- 0xBAADF00D ("bad food") is used by Microsoft's LocalAlloc(LMEM_FIXED) to indicate uninitialised allocated heap memory.
- 0xBADDCAFE ("bad cafe") is used by 'watchmalloc' in OpenSolaris to mark allocated but uninitialized memory. OpenSolaris is an Open source project created by Sun Microsystems to build a developer community around Solaris Operating System technology
- 0xCAFEBABE ("cafe babe") is used by both Mach-O ("Fat binary" in both 68k and PowerPC) to identify object files and the Java programming language to identify Java bytecode class files
- 0xDEADBEEF ("dead beef") is used by IBM RS/6000 systems, Mac OS on 32-bit PowerPC processors and the Commodore Amiga as a magic debug value. Mach-O, short for Mach object file format is a File format for Executables Object code, Shared libraries, dynamically-loaded A fat binary (or multiarchitecture binary) is a Computer program that is native to multiple instruction set architectures (ISA and thus can be run on multiple Java bytecode is the form of instructions that the Java virtual machine executes The System p, formerly known as RS/6000, was IBM 's RISC / UNIX -based server and workstation product line Mac OS is the trademarked name for a series of Graphical user interface -based Operating systems developed by Apple Inc PowerPC is a RISC Instruction set architecture created by the 1991 Apple – IBM – Motorola alliance known as AIM Commodore, the commonly used name for Commodore International, was a US-American Electronics company based in West Chester Pennsylvania The Amiga is a family of Personal computers originally developed by Amiga Corporation. On Sun Microsystems' Solaris, marks freed kernel memory. Sun Microsystems Inc ( is a multinational vendor of Computers computer components Computer software, and Information technology services Solaris is a Unix -based Operating system introduced by Sun Microsystems in 1992 as the successor to SunOS. On OpenVMS, running on Alpha processes DEAD_BEEF can be seen by pressing CTRL-T. Open Virtual Memory System ( OpenVMS) initially known just as Virtual Memory System ( VMS) is the name of a High-end Computer server
- 0xDEFEC8ED ("defecated") is the magic number for OpenSolaris core dumps. OpenSolaris is an Open source project created by Sun Microsystems to build a developer community around Solaris Operating System technology A core dump is the recorded state of the working memory of a Computer program at a specific time generally when the program has terminated abnormally ( crashed
- 0xFEEDFACE ("feed face") is used as a header for Mach-O binaries, and as an invalid pointer value for 'watchmalloc' in OpenSolaris. OpenSolaris is an Open source project created by Sun Microsystems to build a developer community around Solaris Operating System technology
Designing magic numbers
Given there are at least a few hundred words in English consisting of only the letters "a", "b", "c", "d", "e", "f", "o", "i" and "s", it is easy for programmers to devise their own, such as 0xD15EA5ED or 0xBED51DE5. As such, it is useful to observe a few patterns in the classic hexspeak constants given above. These constants all use the full width of the word (in this case 32-bit), and none begin with "1" or "5". This choice means that if the word is interpreted as an integer, it is a (usually large) negative integer. For example, 0xBAADF00D is -1163005939, a large negative integer that is unlikely to arise in many programs. Microsoft's 0xBAADF00D is also a good value to catch access to uninitialised memory for another reason—ending the word with the "1", "5", "b", "d", or "f" ensures that the constant is an odd number, which generates an unaligned pointer exception on many processor architectures if the constant is interpreted as a pointer value. In Computing, a bus error is generally an attempt to access memory that the CPU cannot physically address
Alternative letters
- The C programming language notation uses the "0x" prefix to indicate a hexadecimal number; the "0x" is usually ignored when reading the letters. tags please moot on the talk page first! --> In Computing, C is a general-purpose cross-platform block structured
- In the Intel assembly language, hexadecimal numbers are denoted by a "h" suffix. x86 assembly language is the Assembly language for the X86 class of processors which includes Intel 's Pentium series and AMD For example: FEEDADEADF15h ("feed a dead fish"). Note that numbers in this notation that begin with a letter have to start with a zero to distinguish them from variable names. "FEEDADEADF15h" would then be "0FEEDADEADF15h".
- In the Pascal programming language, hexadecimal numbers are denoted by a "$" prefix. Pascal is an influential imperative and procedural Programming language, designed in 1968/9 and published in 1970 by Niklaus Wirth as a small This allows words starting with the letter "S", for example $EED ("seed").
See also
External links
Leet or Eleet (sometimes rendered l33t, 1337, or 31337) also known as Leetspeak, is an Alphabet used primarily on the In Computer programming, the term magic number has multiple meanings file is a standard Unix program for determining the type of data contained in a Computer file.
© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
network: | |