Skip to content

jxu/x86-examples

Repository files navigation

x86 Examples

Running

make and target name to assemble and link. Most binaries are designed to step through with a debugger and may not exit nicely. DOS COM files are tested with emu2.

You can also assemble and run on godbolt.org Compiler Explorer, using Assembly source and NASM assembler.

Debugging

gdbtui ./program to start debugging with GDB TUI mode.

la a and la r to show assembly and registers. (All this can go into ~/.gdbinit.)

b _start to set a breakpoint at _start, then r to run.

si to step instructions, ni to step over calls.

About

WIP experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published