什么是MOV(%R11,%r12,1),EDX%的含义是什么? [英] What is the meaning of MOV (%r11,%r12,1), %edx?

查看:1184
本文介绍了什么是MOV(%R11,%r12,1),EDX%的含义是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是什么指令呢?

  MOV(%R11,%r12,1),EDX%


解决方案

这里。它说


  

在AT& T公司语法,记忆
  以下面的方式被引用,

 段覆盖:签署偏移(基准,指数,标)


在页面上也有一些例子。我觉得这是最好的:

  GAS内存操作数NASM内存操作数
------------------ -------------------
(%ECX,%EBX,2)[ECX + EBX * 2]

MOV源,目的地在AT& T公司的语法副本从源到目的地的价值。另外还要考虑EDX的大小。多少个字节(4)你觉得 MOV 将复制?

What does this instruction do?

mov (%r11,%r12,1), %edx

解决方案

Look here. It says

In the AT&T Syntax, memory is referenced in the following way,

segment-override:signed-offset(base,index,scale)

Down on the page there are some examples. I find this the best:

GAS memory operand   NASM memory operand
------------------   -------------------
(%ecx,%ebx,2)    [ecx+ebx*2]

mov source, destination in AT&T syntax copies the value from source to destination. Also consider the size of edx. How many bytes (4) do you think mov will copy ?

这篇关于什么是MOV(%R11,%r12,1),EDX%的含义是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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