bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/20763] New: 8e opcode wrong disassembling


From: anatolymik at gmail dot com
Subject: [Bug binutils/20763] New: 8e opcode wrong disassembling
Date: Thu, 03 Nov 2016 03:58:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20763

            Bug ID: 20763
           Summary: 8e opcode wrong disassembling
           Product: binutils
           Version: 2.26
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: anatolymik at gmail dot com
  Target Milestone: ---

8e opcode(mov Sw, Ew) is disassembled wrong for source register operand.

There is example for 16-bit mode here:
66 8e c0:    mov es, eax

but must be:
66 8e c0:    mov es, ax

Most significant bits of source register is ignored unlike 8c opcode(mov Ev,
Sw). For 8c opcode most significant bits are zeroed if operand size is larger
than 16 bit.

Source register is 16-bit for all processor modes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]