Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Luter 345 Experiments
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Decoding of CODA Data and Creation of ROOT Output
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Appearance
move to sidebar
hide
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!
===Hex to Binary Conversion=== These words are shown in hexadecimal (the 0x denotes a hex number), so first they are broken down into 32bit binary words. First off, a word is just a number for the computer, which means this will just be converting a number from one base to another. Hexadecimal numbers have sixteen different digits, which range from 0 to F. Binary numbers only have two digits, which are 0 and 1. Because sixteen is a power of two (specifically 2^4), so a hex number can be written as a four digit binary number. The chart shows the conversion from hex to binary and decimal. [[File:Dec_hex_bin.gif]] ====Example==== Here is an example of how to break a hex word down to bits. The given hex word is: 0xfa8004081 The β0xβ just denotes that it is a hex word, so we ignore it for conversion. Following the chart, f becomes 1111, 8 becomes 1000, 0 becomes 0000, etcβ¦ When you put them all together our final binary word becomes: 11111000000000000100000010000001
Summary:
Please note that all contributions to Luter 345 Experiments may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Luter 345 Experiments:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)