Are instruction set and assembly language the same thing?

前端 未结 7 2198
广开言路
广开言路 2020-12-23 10:22

I was wondering if instruction set and assembly language are the same thing?

If not, how do they differ and what are their relations?

Thanks and regards!

7条回答
  •  忘掉有多难
    2020-12-23 11:10

    The instruction set is composed by all the instructions a processor can execute, while assembly is the programming language that uses these instructions to make programs.
    In other words, the instruction set is just a group of bytes a CPU can understand, but you can't do anything useful with them (think the instructions as the letters of the alphabet) while assembly is a language which lets you combine these instructions (or letters) to make a program (something like a speech).

提交回复
热议问题