定长指令与变长指令

Opcode 最多3字节,最少1字节,最重要的组成部分

1.如歌区分指令定长还是变长?

        1.最关键的表格  ---------Intel白皮书(“英特尔® 64 和 IA-32 架构开发人员手册”)  A.2.4.1

   2.Zz表示法

 

其中 Eb ,lb或者Eb,Gb 相搭的则为变长指令,反之则为定长指令!

E A ModR/M byte follows the opcode and specifies the operand. The operand is either a general-purpose
register or a memory address. If it is a memory address, the address is computed from a segment register
and any of the following values: a base register, an index register, a scaling factor, a displacement.

 

G The reg field of the ModR/M byte selects a general register (for example, AX (000)).

 E,G后面都跟有ModR/M byte selects 

转载于:https://www.cnblogs.com/hanhandaren/p/11158150.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值