Hanoi written in assembly (intel x86 NASM)
Linux, GCC tools, make tools
- cd in the file
make
./hanoi
Use the make clean
to clean the file.
hanoi.asm contains main assembly code for solving the hanoi puzzle.
asm_io.asm and asm_io.inc contain global functions such as print_int
, read_int
and print_string
, etc.
driver.c contains the c code to load hanoi.asm.
cdecl.h is a linker.
Carter P A. PC Assembly Language[M]. Lulu. com, 2007.