mov %al, 0x16 generates the opcode A2 which is actually the opcode for mov 
moffs8*, al (move al to segment:offset). The correct opcode is B0 (mov r8, imm8)

Reference: Intel Instruction Set Reference Volume 1.

-- 
           Summary: mov %al, 0x16 generates the wrong opcode
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: justin at mail2justme dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=2950

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to