什么是MOVZBL指令做IA-32,AT& T公司的语法? [英] What does the MOVZBL instruction do in IA-32 AT&T syntax?

查看:1304
本文介绍了什么是MOVZBL指令做IA-32,AT& T公司的语法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

究竟指令

movzbl  0x01(%eax,%ecx),%eax

呢?

推荐答案

在猜测,这是一样的:

movzx eax, byte ptr [eax+ecx+1]

即。在EAX + ECX从内存中加载一个字节+ 1和零扩展到全寄存器。

i.e. load a byte from memory at eax+ecx+1 and zero-extend to full register.

BTW,大部分GNU工具现在有一个开关(如-M英特尔)或配置选项preFER Intel语法。我一定会推荐给看看吧,如果你不这样做AT&安培; T汇编生活

BTW, most GNU tools now have a switch (such as -M intel) or a config option to prefer Intel syntax. I would certainly recommend to look into it, if you don't do AT&T assembly for living.

这篇关于什么是MOVZBL指令做IA-32,AT& T公司的语法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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