I Am Not A Mage Lord
Chapter 261: Instruction Set
, The fastest update I am really not the latest chapter of Faye!
As Lynch’s biggest contradiction, even if he used the dragon's soul to recreate the "Nandor", he still had to face the problem of a huge workload.
On the one hand, he can't separate his minds, he can't deal with reality while piling up wood in the memory palace.
On the other hand, a lot of repetitive tasks in the micro-processing module are just like simple animations. You only need to draw a few trees and copy and paste the rest.
However, Memory Palace did not "copy" or "paste"!
It stands to reason that photos should be the most realistic and expensive "paintings" in the world!
But the moment it can be copied, it becomes worthless.
The same will be true of craftsmanship that can be "copied" or "replaced by machines".
In an instant, Lynch felt that the "absolutely rational personality" in his mind entered his body through the channel of "Qi Ling", he took a deep breath, and directly gave the order-
"According to the microprocessor sketch on the palace, the entire structure will continue to be scaled down and completed!"
His eyes gradually became sharp and pointed.
"Difficulty-fearing emotion" is actually the difficulty that everyone naturally encounters when solving problems.
Microprocessors have always been labeled with a lot of "tall" and "high-tech".
Even after combining the chip strategy in his previous life, he seemed to have reached the level of national sports.
But as he said in the "One Hundred Thousand Whys" he read when he was a child.
The most powerful thing about science (magic) is that as long as you understand it, you know that this thing is nothing.
The essence of micro-processing is to identify and process a series of 101010... data.
For example, if he wants to calculate the multiplication of 2342x43563x25543, he actually converts all three numbers into binary, then calls the multiplication module to process the binary data, and finally translates the result into a decimal number.
The reason why this "processing" can be done is that the NAND gate is essentially a binary operator. By relying on these logic gates, it perfectly fits the entire system.
Lying in front of him is a CPU structure diagram he designed after considering different schemes.
Dozens of boxes are listed above, each of which briefly writes the hardware unit represented by this box.
Basically, there are hundreds of gate circuit units involved in the specific box. As long as Lynch is absolutely expanded, the performance and storage capacity of the entire computer will continue to rise.
For example, when Lin Qi handed in computer homework when he was young, he also used the 3.5-inch floppy disk. When he arrived at his university, it had become a U disk with a capacity of G, and it was not without the U disk that traversed the first 1Tb.
More importantly, he considered the spatial correspondence between the frame diagram and the actual structure.
In other words, this is the relationship between the building block diagram and the building block.
In the beginning, the Absolutely Rational Personality quickly learned the "adder" module. The most basic element in elementary school is "addition, subtraction, multiplication and division", and the natural next step is the "multiplier".
Know the principle, and then you can practice it.
The binary number becomes 2, the actual is to add a zero at the end, just as the number 2 is "10", the number 4 is "100", the number 8 is "1000"...
Therefore, multiplying by 2 is just a "shift" and "zero padding" operation, and the logic loop is naturally not difficult.
To multiply by 3 is to multiply by 2 and double itself.
Multiplying by 5 is multiplying by 4 (multiplying by 2 twice in a row) and then doubling itself.
The final "multiplication module" = "addition module" + "shift module".
All pavilions do not appear naturally, and all seemingly complicated methods can be dismantled behind the scenes.
However, after this step, the reason why the CPU is so great and able to save countless hours for mankind lies in the next artifact.
And because of the calculations before and after, when Zhao Qi’s CPU deals with the problem of (A+B) x2 and Ax2+B, the order of adding first and then multiplying is not the same as the order of multiplying and then adding, so he has to change the logic gate. wiring.
Therefore, in the early CPUs, there were special personnel who constantly modified the wiring between the modules according to the program requirements, which was more like a tailor-made calculation model for the problem on the spot.
But Lynch could be so stupid to rewire every time according to specific addition and subtraction needs.
So there was the birth of the trigger!
Soon, the absolute rational personality placed four logic gates, and the direct wiring of each other became the simplest RS flip-flop.
Its function is to input two channels (R and S) and output one bit at the same time.
According to the principle of the loop-
When R is input 1, the result is cleared.
R input 0, then S input 1 and save 1.
RS is always input 0, then keep the original data.
Therefore, the computer has a "save" function, which can be used to lock data.
Soon the Absolutely Rational personality re-enacted four flip-flops, and assembled a four-bit data "register" by itself, and then it was used exclusively to store data.
After that, a selector is added around the register, from which the data in the register will change according to the input "data".
At this time, the new "register" also has two inputs.
One R is the "command" input.
One way S is "data" input.
According to the difference of R, such as "1000", "0100", and "0001", the register performs different operations on the S input at the same time.
Such as "read", "addition", "shift".
Such all kinds!
Therefore, the CPU model starts to move differently at this moment. R's instruction is the switch, which determines the next data direction!
Soon, Absolutely Rational Personality continued to mechanize the construction of the module, and even Lynch was able to be in a fully managed state.
At the same time, under the influence of Qi Ling, he also knows exactly what instructions are behind the scenes of the current module construction.
Such as a row of data-
01000001
The first four digits "0100" are one input R, which is a "write" command according to the wiring.
0001 is the S data, which is the value 1.
So this 8-bit machine code is "write value 1"!
Over time, someone turned these 8 digits into "MOV1".
This is the assembly language that the engineering department comes into contact with.
All subsequent modules serve for "instructions" and "data"!
The original complex structure gradually became clear.
That absolutely rational personality once said that Lynch's ten years of work can be completed in less than a month, and it has never been a boast!
Lynch's eyes shimmered slightly!
Slowly, the original simple adder began to collect different arithmetic and logical operations——
Arithmetic operators, bit operators, reduction operators, shift operators, equality operators, relational operators, logical operators, three-term operators, concatenation operators...
Eventually became a more powerful "arithmetic logic unit"!
And these "instructions" involving unified operations, he certainly can't think about whether it is 0100 or 1011 every time, so he puts the instructions in the "register", and the address where they are located is the "program counter".
In the end, these "instructions" are the instruction set of the computer.
Different architectures use different forms of instruction sets.
Although Lynch has a universal "instruction set" on the market, what he needs is an optimized instruction set based on the characteristics of the spell model.
In other words, the instruction set itself is determined by the structure of the microprocessor!
Looking at the 24-hour countdown in his mind, Lin Qi silently pulled the curtains, and suddenly the bright sunshine from outside came in.
Then he pulled off the stool and drew away.
"Student Lynch, didn't you just watch it for half an hour? What's the matter?"
Seeing Lin Qi's hurried look, Zhang Quan couldn't help but asked nervously, he hadn't served Lynch completely yet.
It's just that Lynch was anxious and waved his hand slightly, "No, I suddenly remembered that I was inspired by a big assignment, and I want to go back to the library to check it out."
At this time, in the memory palace that no one can see, the villain shaped by an absolutely rational personality is like a perfect machine that is precisely fitted to lose any possibility of error!
According to Lynch’s needs, it quickly completed the construction of its respective modules, and it did not even need to stop to check whether there were defects in the whole process, nor did it need to check.
There is no distraction, no distraction.
There will be no mistakes or omissions if you look at the content carefully.
This is the absolute rational personality, the most terrifying point!
Otherwise, Lynch can also build these, but it's like the building blocks may be wrong. Once wrong, looking at the dense logic gates, it is extremely complicated to sort out, let alone analyze what is wrong.
This is the reason why Lynch has been unable to promote progress for half a month!
Wherever the wrong line was connected, he just looked for it for a long time.
This is also the reason that beautiful and patient girls are responsible for computer wiring.
ten years!
This is still an absolute rational personality to save others by oneself, and he did not count the time for troubleshooting the wrong wiring!
And that His Royal Highness Quinn must be more aware of this ~www.wuxiaspot.com~ In the ordinary people to build a simple function CPU, relying on the characteristics of the redstone circuit, the probability of making mistakes is much lower, and it takes a lot of money at every turn. Only a few years ago, a simple CPU was re-engraved.
And Lynch's scale, counting the mistakes, the time has to be doubled!
This is the deepest place that Queen Quinn has calculated.
Lynch, who thought that ten years of hard work, would inevitably be unable to complete it after ten years!
The time and energy that was continuously invested was replaced by a semi-finished CPU.
Only then will he face true despair.
Half a quarter of an hour later.
Lynch appeared in the Knowledge Library, and at the same time opened the manuscript that he had read, which directly triggered the identity crisis of the "Prophet Successor"—
Voynich manuscript.
You'll Also Like
-
Transform into twin girls and start as Funina
Chapter 78 7 hours ago -
Lord of All: Daji at the beginning, I am so happy!
Chapter 87 7 hours ago -
After rebirth, my childhood sweetheart wife turned out to be a yandere
Chapter 64 7 hours ago -
American comics: I am Superman and my wife is Wanda!
Chapter 59 7 hours ago -
One Piece: Start Fusion Uchiha Itachi
Chapter 157 7 hours ago -
Autopsy in the morning and a blind date with Boss Yang in the afternoon
Chapter 151 7 hours ago -
Fantasy: Ten thousand times enhanced, I have countless divine objects!
Chapter 177 7 hours ago -
Urban Elf: Start by cultivating croaking frogs
Chapter 197 7 hours ago -
Hong Kong Movie: My understanding is incredible, I am a police hero
Chapter 191 7 hours ago -
The ultimate in tennis starts with devouring legendary talent!
Chapter 144 7 hours ago