Giter VIP home page Giter VIP logo

Comments (1)

BarebitOpenSource avatar BarebitOpenSource commented on May 24, 2024

This is what I've been always fighting with. Intel never bothered to create formal strict syntax rules for the instruction set and the syntax changes in time. Long time ago, the imm8 operand was completely undocumented. The manuals that this reference is based on (15 years back) say: D4 Ib (no mnemonic). That's why someone invented the AMX mnemonic for arbitrary imm8.

In the D40A AAM, from the strict formal point of view, the 0A is actually a "fixed immediate operand". I didn't want to introduce yet another operand type just because AAM and AAD so I went with sec_opcd. This should be fine because the Intel manual merely says D40A AAM, without any mention the 0A part is actually an immediate value.

You're right, the newer manuals say D4 ib AAM imm8 and the reference should be updated now.

By the way, AAM imm8 doesn't make sense because the first letter A stands for "ASCII", referring to the immediate value 0A. When it's different from 0A, the first letter should disappear. So it should be AM, which is too short. That's why AMX makes sense to me.

from x86reference.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.