Feb 3, 2014

GCC, DDD

gcc
# -S to output assembly
gcc -O0 -S hello.c
# -masm=intel or -masm=att

ddd
gcc -g -c sample sample.c
ddd sample

ddd --disassemble sample

X86 Registers

No comments: