root@kali:~/ohm/helloworld# nasm -f elf64 -o hello2.o hello2.asm
root@kali:~/ohm/helloworld# ld hello2.o -o hello2
root@kali:~/ohm/helloworld# objdump -D -M intel hello2

hello2:     file format elf64-x86-64


Disassembly of section .text:

00000000004000b0 <_start>:
  4000b0:	b0 01                	mov    al,0x1
  4000b2:	48 31 ff             	xor    rdi,rdi
  4000b5:	48 83 c7 01          	add    rdi,0x1
  4000b9:	48 be dc 00 60 00 00 	movabs rsi,0x6000dc
  4000c0:	00 00 00 
  4000c3:	48 31 d2             	xor    rdx,rdx
  4000c6:	48 83 c2 0d          	add    rdx,0xd
  4000ca:	0f 05                	syscall 
  4000cc:	48 31 c0             	xor    rax,rax
  4000cf:	48 83 c0 3c          	add    rax,0x3c
  4000d3:	48 31 ff             	xor    rdi,rdi
  4000d6:	48 83 c7 01          	add    rdi,0x1
  4000da:	0f 05                	syscall 

Disassembly of section .data:

00000000006000dc <mytext>:
  6000dc:	48                   	rex.W
  6000dd:	65 6c                	gs ins BYTE PTR es:[rdi],dx
  6000df:	6c                   	ins    BYTE PTR es:[rdi],dx

00000000006000e0 <_GLOBAL_OFFSET_TABLE_>:
  6000e0:	6f                   	outs   dx,DWORD PTR ds:[rsi]
  6000e1:	20 77 6f             	and    BYTE PTR [rdi+0x6f],dh
  6000e4:	72 6c                	jb     600152 <_end+0x62>
  6000e6:	64                   	fs
  6000e7:	2e                   	cs
  6000e8:	0a                   	.byte 0xa

