Assembly language learning notes.
Reference Book: x86 Assembly Language From Real Mode to Protected Mode by lizhong
Assembly language style: Intel
- Create a VHD virtual disk file.
- Run virtual machine.
- Run virtual machine.
- Debug virtual machine.
- Convert the assembly file into binary file.
- Generate an instruction list file.
nasm compile command :
nasm name.s -f bin -o name.bin
nasm compile command with listing file :
nasm name.s -f bin -o name.bin -l name.lst
wine Chinese messy code solution:
Chinese font are not visible in wine
- Write the binary file into the VHD virtual disk file.
- *.vhd : virtual hard disk file
- bochsrc.txt : bochs virtual machine configuration file
- *.s : Posix x86 assembly language file
- *.asm : Windows x86 assembly language file
- *.bin : binary object file
- *.lst : nasm instruction list file
- *.list : nasm instruction list file