Home > Back-end >  The relationship between the computer machine code and CPU
The relationship between the computer machine code and CPU

Time:09-17

Computer identification of 0 and 1 to work, it is converted into a series of high and low level in order to make computer electronics operations received driver, so any language must be converted to binary, so for the CPU instruction set computer machine code? Whether the change of machine code means the CPU internal structure change? Different cpus have a different set of instructions?

CodePudding user response:

This area should be moved to the technology to send, is better!

CodePudding user response:

CPU is the corresponding binary code, binary, only have a basic command set CPU, different manufacturers, and the corresponding CPU extension command set,

CodePudding user response:

Each machine language code is corresponding to an instruction of the CPU, are 0101 binary, assembly language instruction is only the machine language mnemonics, such as ADD, MOV, etc.,

CodePudding user response:

Computer identification of 0 and 1 to work, it is converted into a series of high and low level in order to make computer electronics operations received driver, so any language must be converted to binary, - right
So for the CPU instruction set computer machine code? - yes, but need to pay attention: if the AMD processor with built-in X86 instruction translator (micro code) X86 instruction can be unfolded into internal first RISC instruction set,
Whether the change of machine code means the CPU internal structure change? - not necessarily, different structure of circuit also can use the same instruction decode design, natural can run the same code set
Different cpus have a different set of instructions? - refer to the article, in general, the processor manufacturer will release their instruction set and keep a continuation on the subsequent models,
  • Related