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 :)
So far following contributions are done by some awesome individuals:
- Farhan Ali - contributed solutions for Chp 9: Q3 and Q8
- Saqib Ali - contributed solutions for Chp 2: Q9 and Q10
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
Hey there, I'm Haris
- Maker of Things
Creator of Ultimate Facebook Scraper (one of the best software to collect Facebook data for research & analysis)
Stuck with some problem? Need help in solution development, guidance, training or capacity building? I am a Full Stack Engineer turned Project Manager with years of technical and leadership experience in a diverse range of technologies and domains. Let me know what problem you are facing at [email protected] and we can schedule a consultation meeting to help you get through it.
- Development of Web Applications, Mobile Applications, and Desktop Applications
- Development of Machine Learning/Deep Learning models, and deployment
- Web Scraping, Browser Automation, Python Scripting
If you or your company use any of my projects, like what Iโm doing or have benefited from my projects in any way then kindly consider backing my efforts.
For donations, you can follow these simple steps:
1) Free signup at TransferWise using this link: https://transferwise.com/invite/u/harism95. (Signing up through this link will save you from any transcation fee on the donation)
2) Select the amount e.g (15$) and choose the receiving/recipient's currency to be PKR. It supports multiple payment options (credit card, debit card, wire transfer etc)
3) Then it will show my info as the recipient, select it. If my name isn't shown, then type my email [email protected] in recipients.
4) Choose the reason for transfer to the one that suits you the most (in this case it could be 'General expenses') and in the reference section, you can mention 'Support'
If you face any issue in sending donation then feel free to get in touch with me at [email protected]
Thank you for your contribution!
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 โญ and share in your circles so more people can benefit from the effort.
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