How tf does binary code work.

618 views

it’s just a bunch of 0’s and 1’s.. like I can just put a bunch of them and somehow make a sentence??? like what does this mean -> 010100101001010010 (i legit just spammed 0’s and 1’s)

In: 0

26 Answers

Anonymous 0 Comments

A Z80 was an early 8 bit processor so it is “simple”. It had 255 things it could do and most of them are moving data from one register (number storage) to another. If you check the chart:

[https://clrhome.org/table/](https://clrhome.org/table/)

It shows a grid view. You take the number 00 to 255, convert it to base16 (hexadecimal, count like you have 16 fingers), and use the first and second digit to look up what that operational code (opcode) does.

All this goes back to 1 and 0, which is how you represent numbers.

If you want to see how you store letters and numbers, ASCII is the standard.

[https://www.asciitable.com/](https://www.asciitable.com/)

Column 2 in the table has numbers, column 3 has letters. All are just assigned a number so the computer translates a 65 to an “A”, and 66 is “B”.

You are viewing 1 out of 26 answers, click here to view all answers.