QEMU实现自己的引导程序 x86为例 x86为例 操作步骤如下: gcc -g -c mbr.s ld mbr.o -Ttext 0x7c00 objcopy -S -O binary -j .text a.out mbr.img qemu-system-x86_64 mbr.img