Joke Collection Website - Talk about mood - Let me ask a retarded question. Why does the chip listen to the program? It's just a semiconductor. Why just type a bunch of letters?

Let me ask a retarded question. Why does the chip listen to the program? It's just a semiconductor. Why just type a bunch of letters?

good

Let me talk about it.

First of all, the essence of semiconductor is a kind of logic circuit such as pn junction.

Logic circuits usually have two states, namely, high level and low level.

This is the so-called digital signal, which is represented by 1 and 0.

Then use a set of 1 and/or 0, that is, use multiple 1 and/or 0 to represent a command or data.

The pile of letters you are talking about is a program.

The program is compiled into a series of commands and data.

Commands and data will be converted into machine code.

The machine code is represented by a series of 1 and 0.

The program is stored in the memory area of the chip.

When the chip works, it reads these machine codes.

At this point, the chip works according to the machine code compiled in advance, which is a string of 1 and 0.

This is the basic principle.