Skip to content

带注释的《X86汇编语言-从实模式到保护模式》一书代码

Notifications You must be signed in to change notification settings

happyshui/x86-asm-book-source

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

代码在Mac上验证通过。由于原书是在Win上面编译的,这里也给一下Mac上编译的步骤。

首先使用nasm编译,编译的格式为bin格式,比如:

nasm -f bin c06_mbr.asm -o mbr.bin

原书中使用自带的工具将上面生成的bin文件转换成VHD格式,实际上没有必要,可以使用VirtualBox自带的工具VBoxManage来生成,如:

VBoxManage convertfromraw mbr.bin myfile.vhd --format VHD

这样在virtualbox中就可以加载这个生成的VHD文件看到效果了。

About

带注释的《X86汇编语言-从实模式到保护模式》一书代码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 98.7%
  • Makefile 1.3%