Отлажено с помощью GDB

Общее использование

// breakpoint at certain address
b * 0x7c00
// continue
c
// next instruction
nexti
// continue/step
// next source
next
// step into a function set breakpoint at call function
step

Для регистров

// show registers
info reg
// show specific reg
p/x $cs
// show program counter, $sp for stack pointer
p/x $pc
// print next line to execute
p/i $pc

На память

// x means examine memory
// 24x mean next 24 values in hex representation
x/24x $esp