Skip to content

pop dword ptr [esp] #45

Description

@Hendi48

In #2 you applied a change that broke decoding of pop dword ptr [esp+displ].

  • 8F0F24 must be disassembled to pop dword ptr [esp], not pop dword ptr [esp+4]
  • 8F442404 must be disassembled to pop dword ptr [esp+4], not pop dword ptr [esp+8]
  • 8F8424F0000000 must be disassembled to pop dword ptr [esp+F0], not pop dword ptr [esp+F4]
  • and so on

While the current output might seem more "logical", it's a discrepancy from all other disassemblers and assemblers. Copying output from BeaEngine into an x86 assembler will result in a broken program.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions