Processors respond to program commands (or, by extension, the programmer’s) through machine language, in the form of binary numbers, representing 0 = 0 Volts and 1 = 5 Volts, for example. This language is nothing more than the interpretation of a "table" of instructions where each instruction ("opcode") has a task to perform within the processor.
These "opcodes" or instructions are stored in program memory (ROM or RAM) and the processor reads, decodes and runs sequentially one by one.
The entire sequence of events occurring within the "chip" of the microprocessor, since the system’s energization, is controlled by the clock ("clock"), which sends pulses to the electronic components arranged in such a way as to constitute a complex state machine. Each 0 and 1 stored electronically in the program memory initializes and starts this state machine, giving instructions for the next state.
Typically several clock cycles are required to completely satisfy (or stabilize) the system, depending on the type of "instruction" with which it has been fed.
The amount of instructions desired by the system designer will determine the minimum number of bits (zeros and ones) needed to complete the set of these instructions. So with 1 bit we only have 2 possible states or instructions. With 2 bits, 4 instructions (00, 01, 10, 11). With 4 bits, 16 instructions, and so on.
That amount is the word processor.
But it means that with 64 bits more than 18,000,000,000,000,000 instructions are possible?
Yes, but to better understand why this word so big, let’s proceed...
The operation with each instruction is usually done in two steps: quest ("fetch"), where the instruction is transferred from memory to the instruction decoder circuit; and execution proper. See Instruction Cycle.
Taking as an example the 8085 8-bit microprocessor, the fastest instructions, usually of only one byte, are executed in four cycles of the clock ("clock"), the slowest, those in which the processor needs to search in memory two more bytes of data, up to 16 cycles. In all, this processor has 74 instructions and the clock reached a maximum of 5 Mhz.
As we can see, the old processors were ineffective with respect to the time of processing instructions. The highest performance can be achieved: by increasing the frequency of the clock ("clock"), having physical (electrical and magnetic) bus limitations (interconnections); by increase in the number of external bits, which also have limitations as to physical space; by reduction of the number of cycles to perform each instruction, what is currently done by chaining the instruction search cycles with decoding and/or using "cache" memory; by parallel execution of instructions or multiprocessing or finally increasing the number of bits processed internally, that is, the ALU (Unit of Logic and Arithmetic) the registers and the accumulator(s) with a larger capacity: 16 bits, 32 bits, 64 bits...
Reviewing the history of microprocessors, the first, 4004 Intel, had 4-bit word. The instructions were divided into two "Nibbles", that is, 4 bits or half a byte: the first was the "opcode", the second the modifier. Two more "Nibbles" could compose the address or larger instruction data. See the PDF manual of this chip at 4004 datasheet. Although it had instructions equivalent to an 8-bit processor, it could only perform calculations (it was designed for calculator!) directly with no more than 4 bits.
Nowadays the processors no longer decode the instructions only by means of physical devices of logic, but by microprograms, and they use the most advanced and complex architecture.
Within each "opcode" is embedded much more information than those old instructions. In addition, the processor, incidentally, each of the various processors is able to handle and perform calculations with numbers with much more digits and decimals, in the interests of greater efficiency.
One explanation better than the other
– Diego Farias
@Diegofarias I’m glad you like it, if you want to see everything I answered organized by votes: https://answall.com/users/101/bigown?tab=answers&sort=votes. Not everything will interest you, but there are some cool things. If you only want C#: https://answall.com/search?tab=votes&q=user%3a101%20%5bc%23%5d
– Maniero
So, I’m very interested in learning more, I saw that your posts are leading to more posts and references that have a lot of good content available. I am new in the area, but I intend to master the subject and do as you say in some posts, not buy MYTH. As my knowledge is increasing, I am realizing that some programmers I thought were Gods are not as I thought =). Thanks for the tip I will follow yes. I will try to keep my access to platform regularly.
– Diego Farias
There are no gods, all have flaws, even the best. Today our industry lives a lot of myths.
– Maniero
Yes, I believe even the best make mistakes, but far less than people who don’t know what they’re really doing. I saw that in the link that passed only C# have more 940 posts to follow. I take some time and accompanying them, these contents will be useful to learn more and mature the knowledge already exist. Thank you.
– Diego Farias