如何阅读英特尔操作码符号 [英] How to read the Intel Opcode notation

查看:26
本文介绍了如何阅读英特尔操作码符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读有关汇编指令的英特尔操作码的一些材料,但我不明白操作码字节后面是什么意思.例如:cwcd/2cp/3.

请给我一个提示,它是什么意思或者我在哪里可以找到完整的参考资料?

<前>E8 cw CALL rel16 调用接近、相对、相对于下一条指令的位移E8 cd CALL rel32 调用接近、相对、相对于下一条指令的位移FF /2 CALL r/m16 调用接近,绝对间接,地址以 r/m16 给出FF /2 CALL r/m32 调用接近,绝对间接,地址以 r/m32 给出9A cd CALL ptr16:16 调用远、绝对、操作数中给出的地址9A cp CALL ptr16:32 调用远、绝对、操作数中给出的地址FF /3 CALL m16:16 调用远,绝对间接,地址在 m16:16FF /3 CALL m16:32 调用远,绝对间接,地址在 m16:32

解决方案

我最喜欢的来源是英特尔本身:英特尔® 64 和 IA-32 架构软件开发人员手册.与过去的版本不同,所有卷现在都很好地包装在一个(3044 页)PDF 中.

看起来对您最有帮助的部分是第 2 卷第 3 章中的 3.1.1.1(截至我撰写本文时最新 PDF 的第 432 页).

I am reading some material about Intel Opcodes of assembly instructions, but I cannot understand what does it mean that follows the opcode byte. For example: cw, cd, /2, cp, /3.

Please give me a hint what does it mean or where can I find the complete reference ?

E8 cw CALL rel16 Call near, relative, displacement relative to next instruction
E8 cd CALL rel32 Call near, relative, displacement relative to next instruction
FF /2 CALL r/m16 Call near, absolute indirect, address given in r/m16
FF /2 CALL r/m32 Call near, absolute indirect, address given in r/m32
9A cd CALL ptr16:16 Call far, absolute, address given in operand
9A cp CALL ptr16:32 Call far, absolute, address given in operand
FF /3 CALL m16:16 Call far, absolute indirect, address given in m16:16
FF /3 CALL m16:32 Call far, absolute indirect, address given in m16:32

解决方案

My favorite source is Intel itself: Intel® 64 and IA-32 Architectures Software Developer Manuals. And unlike versions past, all of the volumes are now nicely wrapped up in a single (3044 page) PDF.

It looks like the section that will help you most is 3.1.1.1 in Chapter 3 of Volume 2 (page 432 of the latest PDF as of the date I am writing this).

这篇关于如何阅读英特尔操作码符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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