bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25167] The .code16 directive is broken


From: hjl.tools at gmail dot com
Subject: [Bug gas/25167] The .code16 directive is broken
Date: Wed, 06 Nov 2019 15:57:56 +0000

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-skx-1 build-x86_64-linux]$ cat x.s 
.code16
rep; movsd
rep; cmpsd
.intel_syntax noprefix
cmpsd dword ptr [si], dword ptr es:[di]
[hjl@gnu-skx-1 build-x86_64-linux]$ ./gas/as-new --32 -o x.o x.s
[hjl@gnu-skx-1 build-x86_64-linux]$ objdump -dw -Mi8086 x.o

x.o:     file format elf32-i386


Disassembly of section .text:

00000000 <.text>:
   0:   f3 a5                   rep movsw %ds:(%si),%es:(%di)
   2:   f3 a7                   repz cmpsw %es:(%di),%ds:(%si)
   4:   a7                      cmpsw  %es:(%di),%ds:(%si)
[hjl@gnu-skx-1 build-x86_64-linux]$

-- 
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]