+ 1
How binary programming looks?
2 Réponses
+ 2
binary is a series of 1s and 0s binary programming looks like this
01100011010011011010001101101010011011001010100
+ 1
Binary programming is extremely difficult and maths intensive. Due to languages made to compile to binary there is really no need to worry about it.
I have only researched binary for my course I have never used it however as I understand it works like this:
Each binary instruction consists of several blocks of 8 digit binary numbers i.e. 1 or 2
each digit is a bit and each block is a byte.
The order you write these instructions depends on the hardware of your PC.
e. g. to Output one byte of data to data bus,11010011
To output letters or numbers it would take quite a few blocks to define ASCII and define output and how it reacts so due to this I'd have to recommend hex or just go with mainstream language. If you are after powerful control over the PC use C or C++ but any would work for most challenges.
Binary is however very hard to set up as you would probably use a hex editor and have to set up some sort of direct injection of the binary into your CPU.
you could have a look at https://www.allaboutcircuits.com/textbook/digital/chpt-16/microprocessor-programming/
hope this helps,
Kurios