assemble: nasm -f elf32 sample.asm -l sample.lstlink:ld -m elf_i386 -o test sample.o io.o 转载于:https://www.cnblogs.com/zhangze/p/3139977.html