Binary Code

M

Thread Starter

ME

I want to learn Binary code but i don't really know much at all. i think i know four bit a little see. 1000101101=16 i think i'm not sure. Where can i go to learn on the web?
 
B

Brian E Boothe

What is all those 0's and 1's and and just to let you know 16 In Binary IS NOT this garbage >>> 00110001000110110

16 in BINARY is 00010000 8-Bit value

2^7 2^ 6 2^5 2^4 2^3 2^2 2^1 2^0 binary place values
128 64 32 16 8 4 2 1 decimal equivalents
--------------------------------------------------------------
0 0 0 1 0 0 0 0


10000
 
G

Garrett, James P

<p>(CLIP)<br>
Anonymous:<br>
> the number 16 in binary is 00110001000110110<br>
(CLIP)

<p>Just an observation, but, '00110001000110110' contains 17 bits so it's difficult to say exactly what it is. My best guess is that an additional '0' was added inadvertently:

<pre>
00110001000110110
^ Removing this bit leaves
0011000100110110

Just for clarity --> 0011 0001 0011 0110 or
or --> 3 1 3 6 in decimal
</pre>
<p>Hexadecimal '31 36' equates to '16' in ASCII. (That's a 'one six', not necessarily 'sixteen'.) As mentioned correctly in a previous post, 16 in hex notation is '10000' or '00010000'

Just my 2 bits...
Jim Garrett
 
What are you using 8-bit material for just a load of crap use 4-bit makes more sense at least you already know how to use it
 
> Just for clarity --> 0011 0001 0011 0110 or
> or --> 3 1 3 6 in decimal<

3136 is actually the binary coded decimal number or BCD. The decimal number equivalent is to is 12,598. You get that by raising 2 to the power of whatever bit position a one is in and adding them up....

> <p>Hexadecimal '31 36' equates to '16' in ASCII. (That's a 'one six', not necessarily 'sixteen'.) As mentioned correctly in a previous post, 16 in hex notation is '10000' or '00010000'<

I forgot my Ascii tables a long time ago so I'll take your word on this one, but a 16 in hex notation is 00010110, which is equvalent to 22 in decimal. BCD is HEX without the letters.

Counting to 20 in three base 16 (Hex), Base 2 (Binary), and Base 10 (decimal) we have

HEX Binary Decimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
A 1010 10
B 1011 11
C 1100 12
D 1101 13
E 1110 14
F 1111 15
10 10000 16
11 10001 17
12 10010 18
13 10011 19
14 10100 20
15 10101 21
16 10110 22

"It is really fuzzy", said the student.

"Ok, let me explain it again", said the computer prof.

"There are 16 bits to a word", said the computer prof.

"Ok, that's clear", said the student.

"And there are 8 bits to a byte and 4 bits to a nibble"

"It's starting to get fuzzy again", said the student.

[email protected]
 
The Alphabet in Binary Code

Letter Binary Code (upper case)

A 01000001
B 01000010
C 01000011
D 01000100
E 01000101
F 01000110
G 01000111
H 01001000
I 01001001
J 01001010
K 01001011
L 01001100
M 01001101
N 01001110
O 01001111
P 01010000
Q 01010001
R 01010010
S 01010011
T 01010100
U 01010101
V 01010110
W 01010111
X 01011000
Y 01011001
Z 01011010

Letter Binary Code (lower case)

a 01100001
b 01100010
c 01100011
d 01100100
e 01100101
f 01100110
g 01100111
h 01101000
i 01101001
j 01101010
k 01101011
l 01101100
m 01101101
n 01101110
o 01101111
p 01110000
q 01110001
r 01110010
s 01110011
t 01110100
u 01110101
v 01110110
w 01110111
x 01111000
y 01111001
z 01111010

:) there you go. those are the letters.
 
It doesn't mean anything out of context. All you've got is 7 lines of 5 characters consisting of combinations of the characters 0,1, and *

Where did that come from? It didn't come from that URL you quoted.

It could be binary match triggers for a logic analyzer, where * is a "don't care" condition. However, there is some redundancy in the list. You could use just 10*** and 110** if that was what it is.

Rufus

Rufus V. Smith
[email protected]
http://members.aol.com/rufusvs
 
Hello, I do know that is the alphabet in binary code, however, how do you derive to the alphabet? Is there a special procedure that must be completed in order to get the alphabet in binary code?

 
J
The coolest binary page and the FIRST to have binary finger counting is at:

http://www.johnselvia.com/binary/

Features binary tutorial, hexadecimal tutorial, binary, decimal hex chart, and best of all, binary finger counting (online since 1995!!!)

Oh, yeah, it's my site! :)

John
 
Wow, that makes it a lot simpler. I can practice at school, anywhere! Anyone know sites where instead of just learning individual numbers and things, i can learn how to put it all together to make a basic prog?
 
Top