摘要: 学习环境 Ubuntu 11.04 + Bochs 2.4.6 + NASM主要工作1. 第一章 马上动手写一个最小的“操作系统”代码如下: 1 org 07c00h ; tell the compiler that the program is loaded at 7c00 2 mov ax, cs 3 mov ds, ax 4 mov es, ax 5 call DispStr ; call the example about string display 6 jmp $ ; unlimited loop 7 DispStr: 8 mov ax, BootMessage 9 mov bp, 阅读全文
posted @ 2011-06-11 15:29 大有|元亨 阅读(6145) 评论(6) 推荐(0)