摘要: 出现问题:$nasm -f elf hello.asm -o hello.o$ld -s hello.o -o hello ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 output--... 阅读全文
posted @ 2015-08-05 17:40 ForeverEnjoy 阅读(1523) 评论(0) 推荐(0) 编辑
摘要: 引导程序1.2.1 Com 文件Com 文件是纯二进制的文件,也是直接与 Cpu 交换的顺序指令文件。Com 文件的大小是有限制的,不能超过 64KB.因为 8086 时代的 CPU 地址线是 20 位的,20 位能表达的数值也就是 fffffh(1MB )。而寄存器最高也只是 16 位,无法用 5... 阅读全文
posted @ 2015-08-05 12:59 ForeverEnjoy 阅读(494) 评论(0) 推荐(1) 编辑