Version: 1.0
Author: Simonas Jarukaitis
E-mail: simasjarukaitis@gmail.com
This disassembler for 8086/8088 processor. It converts .com program instructions to assembly language. For example, 04 17 means add al, 17.
It should work with all commands, presented at file instr86.pdf.
If Disassembler does not understand command, it will return "db xx" (xx - byte).
Template for disassembler was provided by my professor, Irus Grinis. it had simple 1 byte instructions, function to open, read, close files.
Grinis also provided libraries "yasmlib.asm" and "yasmmac.inc".
First, we will need these files:
- DOSBOX emulator (https://www.dosbox.com/download.php?main=1)
- dsmnulis.asm file
- YASM.exe file (to compile .com file)
- yasmliv.asm and yasmmac.inc files
- DEBUG.com file, used for creating .com files
Then, launch DEBUG.com, and write these instructions:
- mount c: 'folder with dsmnulis.asm file'.
- c:
- yasm dsmnulis.asm -fbin -o dsmnulis.com OR cl dsmnulis, if you have cl.bat file
- debug
- a100
- Now write assembly commands
- When you are done writing, press enter and write r cx
- enter how many bytes you used (You can see them on the left, behind the assembly commands)
- n 'file_name.com'
- w
- q
- dsmnulis 'file_name'
Copyright (C) 2021 Simonas Jarukaitis, Vilnius University.