Assembly code vs Machine code vs Object code?

后端 未结 10 1979
执笔经年
执笔经年 2020-11-27 09:11

What is the difference between object code, machine code and assembly code?

Can you give a visual example of their difference?

10条回答
  •  离开以前
    2020-11-27 09:16

    Assembly code is discussed here.

    "An assembly language is a low-level language for programming computers. It implements a symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture."

    Machine code is discussed here.

    "Machine code or machine language is a system of instructions and data executed directly by a computer's central processing unit."

    Basically, assembler code is the language and it is translated to object code (the native code that the CPU runs) by an assembler (analogous to a compiler).

提交回复
热议问题