It's simple to add binary numbers but a little hard to add hex
numbers. We'll start with binary.
1010
+0101
1111
See? It's easy!
All you have to do is add 1+0 but it gets a little harder.
1
1001
+0101
1110
Do you see how there was a 1+1 in there? When that happens you put
a zero there and put a 1 over the one behind it.
1 1
0101
+0011
1111
How you add hex isn't very easy. If you know how to count in hex it's easier though.
8
+2
A
You would think I should have put a ten there right? Well in hex it doesn't work that way because A=10 in hex.
9
+3
C
When you start to overlap it get's even harder.
8
+8
10
Now that must look even weirder right? Because normally you would say 8+8=16. Well 1 0 is actually the first number you get to when you overlap. The next numbers in hex are 11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F,20,21,22,23,24,25,26 etc.
How you add hex isn't very easy. If you know how to count in hex it's easier though.
8
+2
A
You would think I should have put a ten there right? Well in hex it doesn't work that way because A=10 in hex.
9
+3
C
When you start to overlap it get's even harder.
8
+8
10
Now that must look even weirder right? Because normally you would say 8+8=16. Well 1 0 is actually the first number you get to when you overlap. The next numbers in hex are 11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F,20,21,22,23,24,25,26 etc.
No comments:
Post a Comment