-
There are so many programming languages, the CPU doesn't know any of them, it only knows machine language, that is, binary instructions. All programming language source codes are converted into binary machine instructions using the corresponding compiler, which is the exe file you always see. For example 1011000000000101 is something that the CPU can understand, and it puts 5 in the Al register.
If you calculate 5+6, you can convert it into binary, and it's a lot of stuff. The compilation probably is.
mov ah,5
mov bh,6
add ah,bh
The assembly has a corresponding binary**.
-
Different languages have different compilers, which are included in the compilation software.
-
No matter what programming language it is, the programming software used will interpret your ** as a machine language at compile time! The CPU is still running machine language. You learn the compilation and you'll see it all.
-
Those languages are high-level languages, and they are ultimately interpreted as machine languages for the CPU to execute, and those tools are the compilation environment of high-level languages.
-
The programming language is compiled into machine code that can be recognized by the machine through the compilation program, which is the core of the development platform, and then handed over to the computer for processing.
-
The CPU doesn't recognize the language, right?
It's just a separate operating system.
-
Machine language is the ** that the CPU can recognize and execute, which is very close to the hardware and has a fast execution speed, but the versatility is poor (the machine code that a CPU can recognize may not work for another); For different types of CPUs, the instruction set is all the instruction languages that the CPU can recognize, but non-machine languages are translated into machine languages before they can be finally executed by the CPU!
-
It's different.
The machine language used by x86 32-bit CPUs is the same, although the specific models are different, but they are almost the same for OS;
The machine language used by the x86-64 CPU is different, so Windows only has a 64-bit version, and the 64-bit version of Windows and the 32-bit version of Windows correspond to different machine languages.
Of course, x86-64 CPUs can also work in x86 32-bit mode, but only one mode at a time).
It's the same with Linux, there are different versions of Linux for CPUs in different machine languages, and they can't be used universally
x86, x86-64, mips, power, ia64, ,......Wait a minute.
In fact, there were versions of Windows that were used for other types of processors before.
Windows for Alpha (Alpha Processor).
Windows for IA64 (Itanium Itanium processors).
Wait, these and x86 32-bit versions of Windows are even less common!!
a.Celestial body; b.orbiting the stars;
c.Its own gravitational pull is enough to overcome its rigid physical strength and make the celestial body spherical; >>>More
The first to appear in all kinds of **, the most famous is "Water Margin", of course, it is said that due to the instability of social security in the Song Dynasty, criminal cases of murder in hotels have occurred from time to time, and the image of black shops in the Song Dynasty has become more and more.
Oh, people always say that there are seven emotions and six desires, in fact, everything is not as satisfactory, not as perfect as you think, don't have too much hope, the greater the hope, the greater the disappointment.
It's all well set off by peers.
Zhihu: Yes >>>More
This has to do with feudalism in the history of Europe.
Many of today's countries are aristocratic fiefs such as small principalities left over from that time. >>>More