Since there are so many programming languages, can the CPU recognize so many programming language pa

Updated on technology 2024-04-15
8 answers
  1. Anonymous users2024-02-07

    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**.

  2. Anonymous users2024-02-06

    Different languages have different compilers, which are included in the compilation software.

  3. Anonymous users2024-02-05

    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.

  4. Anonymous users2024-02-04

    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.

  5. Anonymous users2024-02-03

    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.

  6. Anonymous users2024-02-02

    The CPU doesn't recognize the language, right?

    It's just a separate operating system.

  7. Anonymous users2024-02-01

    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!

  8. Anonymous users2024-01-31

    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!!

Related questions
14 answers2024-04-15

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

12 answers2024-04-15

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.

17 answers2024-04-15

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.

10 answers2024-04-15

It's all well set off by peers.

Zhihu: Yes >>>More

19 answers2024-04-15

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