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”.
Latest Answers