汇编程序如何处理"org 100h"?指示? [英] How does assembler process "org 100h" directive?

查看:455
本文介绍了汇编程序如何处理"org 100h"?指示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,该指令的作用.据我了解,程序加载器看不到该指令,那么,汇编程序如何处理它?

I know, what this directive is do. As I know program-loader doesn't see this directive, so, how assembler process it?

推荐答案

它将汇编过程中的当前地址设置为100h.仅此而已.一个简单的任务.

It sets the current address during assembly to be 100h. That's all it is. A simple assignment.

详细说明:

该指令不控制以下指令在结果图像中的放置位置,而是控制将指令加载到内存后的位置.

The directive does not control where in the result image the following instructions will be placed, but rather where the instructions would be placed after being loaded into memory.

这篇关于汇编程序如何处理"org 100h"?指示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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