摘要
讨论了传统BIOS程序设计用语言的特色和缺点,提出了用C语言编写BIOS程序的新思路.通过分析BorlandC++微模式下编译产生的可执行代码,并创建了适合BIOS程序设计的启动代码,实现了用C语言编写BIOS程序.最后,给出了具体编程示例.
In this paper, the features and the disadvantages of Assembly Language in BIOS coding are discussed. A new idea of BIOS coding in C Language is put forward. By analyzing the executive code generated from Borland C + + compiler in tiny mode, and creating a special Startup Code for BIOS, we have made it practicable to code BIOS in C Language. In the end, a demo is presented.
出处
《辽宁大学学报(自然科学版)》
CAS
2005年第3期275-277,共3页
Journal of Liaoning University:Natural Sciences Edition