Computer maths

8.01.2019

Generally I mean in this section to provide useful links for basic arithmetic operations of binary and hexadecimal numbers.

When you need to program basic operations for PC computer and you need to develop your skills in assembler or you learn to use C or C++. It does not really matter. Sooner or later you need to know more about this.

To provide some hyperlinks I was inspired after reading about Arduino Standard Library in a book of Simon Monk about Arduino basics. And I realized that it is really primitive platform and some ideas are so old that I am a bit shocked how all components are meant to be implemented from scratch. It is not what best we can do with programming languages in XXI century but Arduino idea is somehow good for training some skills that one day you will praise your time spent on maybe initially boring tasks but in fact computers stem from idea of binary structure of signals represented in time. The voltage has only two states and everything relies on distribution of such two states in time being a series in time of just only two states. And hex numbers are also an idea derived from the more basic idea of binary system to represent information. Basically numbers. But as we know every form of information is finally represented in a binary form today. So this is somehow effective way for representing such numbers, accessing them, operating on them, storing them etc. And hex numbers are just some row of multiplication of the initial two-state idea of signal in computer processing of finally information. And it is effective use of particularly this row, this exponent of them that can be this time written in a short form to label many things with unique numbers like registers, operations and many more ideas typical for computer processing of information.

 

Some resources:

https://www.electronics-tutorials.ws/binary/bin_3.html

Practical Programmer Math: Bit Arithmetic

Hex arithmetics

Binary arithmetics