See this shirt? I own one of these shirts. This shirt is magical, it can make completely tolerable people extremely annoying, to the point where when people ask “oh, what does your shirt say?” I tell them to stop because they’ll be confused. I’m sorry, but seriously, are we this behind? Hexadecimal. Apparently, a great number of people don’t have a clue what it is. I’ve started to begin doubting that there are even dead [0xDEAD, if you want to be an ass about it] people that even know hex.
So here I go, let’s re-title this post:
specialKolin’s quick lesson in hex.
Okay, let’s start with the basics.
wtf = hex?
short answer: your mom, stop talking like that.
long answer: Hexadecimal, or base-16 is a numbering system, just like the numbers you learned in pre-school [those are called base-10]. Hex is called base-16 due to the 16 characters that are used. [base 10 = 0 1 2 3 4 5 6 7 8 9 ] Each character has its numerical value which translates over to base-10, and is as follows:
0=0 1=1 2=2 3=3 4=4 5=5 6=6 7=7 8=8 9=9 [now the fun] A=10 B=11 C=12 D=13 E=14 F=15
Place Value
Now, I wouldn’t doubt some of you thinking “okay, so DEAD is 13141013″ and I really don’t blame you, cause that’s what you learn with B-10, [not the vitamin, I'm getting lazy...we're going to end up calling it "10"] but that’s not how it works with hex. Remember, it’s a different numbering system, therefore it has a different place value system.
I sure hope we all remember what place value is, so I’ll skip explaining that. As you’ll recall, we’re calling the number systems Base-. So, you math-smart people know what’s next…
B-10 Place value:[first 8, sheesh]
10^7 10^6 10^5 10^4 10^3 10^2 10^1 10^0 [if you added that up it would be 11111111, or 255 in binary...but that's another bit of fun (lol @ puns)]
B-16 Place value:[4 is the standard amount of place value, but you'll get the idea]
16^3 16^2 16^1 16^0
(4096)(256)(16)(1)
So…
DEAD…
BLEEHHH….
[sorry couldn't resist]
the first D[on the left] would indicate 13, 4096’s
E = 14, 256’s
A= 10, 16’s
the last D = 13, 1’s
multiply it out, then add it up, then post your answers in the comments
if you have problems, call me at 0xF2359AD
[seriously if you can figure that out, you're a nut, cause you've got it fine]
ps: hex is always denoted by a 0x[zero x] at the beginning