标签移动到 register 和 sub 是什么意思? [英] what is the meaning of the label moving to register and sub?

查看:27
本文介绍了标签移动到 register 和 sub 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

given a a label 
L1: db "beat it",10,0
L2:


what is the meaning of:
mov eax,L2
sub eax,L1

L2 注册,子注册从标签包含字符串

L2 to register, and sub register from label include string

推荐答案

MOV EAX,L2 将标号代表的地址移动到寄存器中.

MOV EAX,L2 moves the address the label represents to the register.

MOV EAX,[L2] 不同,后者从该地址获取值(内存的内容).

Unlike MOV EAX,[L2] which gets a value (the content of the memory) from that address.

这篇关于标签移动到 register 和 sub 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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