bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13573] New: jmp is misassembled in Intel syntax.


From: 0x6f67db at mail dot goo.ne.jp
Subject: [Bug gas/13573] New: jmp is misassembled in Intel syntax.
Date: Sat, 07 Jan 2012 10:34:12 +0000

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

             Bug #: 13573
           Summary: jmp is misassembled in Intel syntax.
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


What I tell looks like to '10740 Intel syntax far jumps broken'.
But it is about the case that jmp's operand is integer.
My report is about that is memory and registers.
I wrote the following in a file whose extension is S.

.text
.code32
ljmp *4(%esp)
.intel_syntax noprefix
jmp far[esp+4]

I think both jmp commands have same meaning.
But they were assembled into the different machine code.

'jmp far[esp+4]' -> 'FF A4 24 0A FF 00 00'
'ljmp *4(%esp)' -> 'FF 6C 24 04'

 'FF A4 24 0A FF 00 00' is wrong machine code to work as I thought.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]