什么是汇编语言和机器语言之间的关系? [英] What's the relationship between assembly language and machine language?

查看:607
本文介绍了什么是汇编语言和机器语言之间的关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是汇编语言和机器语言(同一底层系统)真的一样吗?有没有这两个概念有何区别?

Are assembly language and machine language (for the same underlying system) really the same? Are there any differences between these two concepts?

推荐答案

汇编语言是在机器语言的便捷机制。汇编语言使用记忆序列来代替数字操作codeS和可以使用符号的标签,而不是手动计算偏移。它也可以保护你免受真正愚蠢的错误 - 你键入一个畸形的处理器指令

Assembly language is a convenience mechanism over the machine language. With assembly language you use mnemonic sequences instead of numeric operation codes and can use symbolic labels instead of manually calculating offsets. It also protects you from really dumb errors - like typing a malformed processor instruction.

否则assemly语言是机器语言的等效。有时你有一个旧的汇编器将不支持助记符较新的处理器的一些指令 - 那么你仍然可以直接插入操作codeS到程序

Otherwise the assemly language is the equivalent of the machine language. Sometimes you will have an old assembler that will not support mnemonics for some instructions of the newer processors - then you can still insert operation codes directly into the program.

这篇关于什么是汇编语言和机器语言之间的关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆