Skip to content

Assembler exchanges XCHG operands order versus disassembler #18

Description

@ecm-pushbx

In a blog post I listed this fix to lDebug:

instr.set: Avoid swapping XCHG operand order between assembler and disassembler, use same order as NASM/NDISASM

This is what it looks like in Debug/X v2.03:

E:\>debugxd                                                                     
]a                                                                              
0B24:0100 xchg bx,cx                                                            
0B24:0102 xchg cx,bx                                                            
0B24:0104                                                                       
]u 100 l 4                                                                      
0B24:0100 87CB              XCHG    CX,BX                                       
0B24:0102 87D9              XCHG    BX,CX                                       
]

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