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
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 find any bugs, have suggestions, or face issues:
- Open an Issue in the Issues Tab to discuss them.
- Submit a Pull Request to propose fixes or improvements.
- Review Pull Requests from other contributors to help maintain the project's quality and progress.
This project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether itβs debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.
With modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Letβs work together to make this project the best it can be! π
Copyright (c) 2018-present, harismuneer
Hey there, I'm Haris Muneer π¨π»βπ»
-
πΈοΈ Founder of Cyfy Labs: At Cyfy Labs, we provide advanced social media scraping tools to help businesses, researchers, and marketers extract actionable data from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools support lead generation, sentiment analysis, market research, and various other use cases. To learn more, visit: www.cyfylabs.com
-
π Open Source Advocate: Iβm passionate about making tech accessible. Iβve open-sourced several projects that you can explore on my GitHub profile and on the Open Source Software PK page.
-
π« How to Reach Me: You can learn more about my skills/work at LinkedIn. You can also reach out via email for collaboration or inquiries. For Cyfy Labs related queries, please reach out through the company website.