Rough outline of commands used for gdb (tui) demo on mov.s: If the tui windows start looking weird, run the command "refresh" (Ctrl+L) > gcc -o mov mov.s > gdb mov > break main > run > layout asm > layout regs > stepi 3 > print $rax > print /x $rax > print /x $eax > print /x $al > stepi > stepi > stepi > x $rax > x /gx $rax > x /bx $rax+4 > stepi > kill > y > quit