Is this a bug in gnu objdump?
Input to as :
.test16:
.byte 77
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.test17:
.byte 77
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
Output of objdump :
000000000000005a <.test16>:
5a: 4d 00 01 rex.WRB add %r8b,(%r9)
5d: 01 01 add %eax,(%rcx)
5f: 01 .byte 0x1
0000000000000060 <.test17>:
60: 4d 01 00 add %r8,(%r8)
63: 00 00 add %al,(%rax)
...
http://ref.x86asm.net/coder64.html#x4D 4D is the opcode of REX.WRB
Next test :
output :
Disassembly of section .text: