Understanding Binary Code

HippySunshine

Senior Member
Hello,

So I really want to understand binary but having a damn hard time getting my head around the explanations I found online :X3:

Anyone want to take a crack at an explanation for little old me? :giggle:

Thanks
 
01001001 01110100 00100000 01100010 01100001 01110011 01101001 01100011 01100001 01101100 01101100 01111001 00101100 00100000 00110001 00100000 01100110 01101111 01110010 00100000 01101111 01101110 00100000 01100001 01101110 01100100 00100000 00110000 00100000 01100110 01101111 01110010 00100000 01101111 01100110 01100110 00101110

https://www.binarytranslator.com/translating-text-to-binary

I once created a computer game in binary code in "Basic" on the Spectrum 48k - I was only 9 or 10 years old then - I don't remember much about programming "Basic" or programming in binary these days.

It's a skill which I wish I had kept up.
 
01001001 01110100 00100000 01100010 01100001 01110011 01101001 01100011 01100001 01101100 01101100 01111001 00101100 00100000 00110001 00100000 01100110 01101111 01110010 00100000 01101111 01101110 00100000 01100001 01101110 01100100 00100000 00110000 00100000 01100110 01101111 01110010 00100000 01101111 01100110 01100110 00101110

https://www.binarytranslator.com/translating-text-to-binary

I once created a computer game in binary code in "Basic" on the Spectrum 48k - I was only 9 or 10 years old then - I don't remember much about programming "Basic" or programming in binary these days.

It's a skill which I wish I had kept up.

Thanks for that, but that's gone straight over my head!
 
Ok so you have an ASCII table
https://www.asciitable.com/

ASCII - American Standard Code for Information Interchange

This is what's used as the template for assigning letters and numbers to Binary.
If you like it's the alphabet of binary.

You see on the left hand side it says "DEC" and the reference for "A" is "65"


If you wanted to say Hello in decimal it would be
72 101 108 108 111

So Hello in Binary is

Example
01001000 01100101 01101100 01101100 01101111

Explanation of
01001000

01001000 represents H (decimal equivalen 72)

You will notice each binary letter is 8 digits

You work it out from right to left
It's stored in BITS - and it goes to the power of 2, so starting right,
1st number=1, 2nd number =2, 3rd number=4, 4th number =8
(1*2=1) (2*2=4) (4*2=8) (8*2=16) (16*2=32) (32*2=64) (64*2=128)

It finishes off like this
128 64 32 16 8 4 2 1

For H
The bits turned on and off are represented by 1's and 0's

Screen Shot 2018-05-23 at 11.47.35.png

For H bits 128, 32, 16, 4, 2 and 1 are all switched off

BITS 64, 8 are turned on

Therefore the Binary translation is now 64+8= 72
 
Last edited:
01001001 01110100 00100000 01100010 01100001 01110011 01101001 01100011 01100001 01101100 01101100 01111001 00101100 00100000 00110001 00100000 01100110 01101111 01110010 00100000 01101111 01101110 00100000 01100001 01101110 01100100 00100000 00110000 00100000 01100110 01101111 01110010 00100000 01101111 01100110 01100110 00101110

https://www.binarytranslator.com/translating-text-to-binary

I once created a computer game in binary code in "Basic" on the Spectrum 48k - I was only 9 or 10 years old then - I don't remember much about programming "Basic" or programming in binary these days.

It's a skill which I wish I had kept up.
thanks for that
 
Back
Top