nasm -f [format i.e elf64] [filename].s
ld -o [filename] [filename.o] -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2
objdump -M intel -d helloWorld to disassemble .text
objdump -M intel -d helloWorld
objdump -sj .data helloWorld to disassemble .data
objdump -sj .data helloWorld
objdump -M intel --no-show-raw-insn --no-addresses -d helloWorld to show binary assembly code
objdump -M intel --no-show-raw-insn --no-addresses -d helloWorld
Last updated 3 years ago