This repository provides solutions to most of the programming questions in the exercise (at the back) of chapters for Bao Ji's Book. Sharing these with you, so that they might help you in understanding the concepts.
The questions are taken from the book Assembly Language Programming by Bilal Hashmi and Junaid Haroon
Its an excellent book for understanding the language and concepts of 8086 Assembly. It starts from the very basics and then takes you to advanced concepts in an efficient manner. Highly Recommended!
1- Download this code and move the 'assembly_code' folder to C: directory.
2- Install DOSBOX from this link: Download DOSBOX Emulator
3- After complete installation, go to DOSBOX installation directory and run "DOSBox 0.74 Options.bat". This will save you from the pain of searching the configuration file yourself and will open that file for you. Copy these lines at the end of that file:
mount c: c:\assembly_code
c:
4- Now to run any question (say named 'chp4_03.asm'), run DOSBOX 0.74 and type
nasm chp4_03.asm -o chp4_03.com
To run the code, type:
chp4_03.com
To examine step by step working of the code, type
afd chp4_03.com
-
If you find any bug in the code, you can edit that file and propose a change request.
-
Since there's always more than one way to solve a problem so I would highly appreciate if you share your solution of the problem too. This way we will have more than one solutions to a given question. For the geeks not familiar with the Git environment, you can email me the solution files at [email protected]
-
Also, when I was studying Assembly I didn't get enough time to solve all questions of Chp 9 and 10. That's why you can find solutions to only some of the questions from these chapters. Therefore, I would encourage you to share your solutions of Chp 9 and 10 with me and I will add them to this repository.
For any contribution that you make to this repository, I will give you credits for that and will mention your name in the respective file :)
Kindly don't copy them in your assignments :P
You can check out these repositories too:
- 📌 Display Memory (Video Card Memory), Strings, Software Interrupts, Hardware Interrupts - 8086 Assembly
- 🖥️ Bit Manipulation and Subroutines -8086 Assembly
- ⏱️ Stop Watch in x86 Assembly Language
You can get in touch with me on my LinkedIn Profile:
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star ⭐!
If you face any issue, you can create a new issue in the Issues Tab and I will be glad to help you out.
Copyright (c) 2018-present, harismuneer