{"id":15060452,"url":"https://github.com/harismuneer/belalhashmi-assembly-exercise-solutions","last_synced_at":"2025-09-11T17:46:21.747Z","repository":{"id":49566314,"uuid":"139494111","full_name":"harismuneer/BelalHashmi-Assembly-Exercise-Solutions","owner":"harismuneer","description":"💻 This repository provides solutions to most of the programming questions in the exercise given at the back of chapters for Bao Ji's Book (text book for course \"Comp. Organization \u0026 Assembly Lang. EE213\" at FAST). Sharing these, so they might help students in understanding the Assembly concepts.","archived":false,"fork":false,"pushed_at":"2025-01-30T17:59:59.000Z","size":1247,"stargazers_count":54,"open_issues_count":1,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-30T05:36:58.448Z","etag":null,"topics":["afd","assembly-8086","assembly-language","assembly-language-programming","assembly-x86","bao-ji","belal-hashmi-answers","belal-hashmi-book-solutions","belal-hashmi-solved-exercises","bilal-hashmi-exercise-solutions","cs401-solved-exercises","dosbox","hardware-interrupts","interrupts","nasm-assembly","pcb","software-interrupts","solved-exercices","systems-programming","video-memory"],"latest_commit_sha":null,"homepage":"https://github.com/harismuneer","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harismuneer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.cyfylabs.com"}},"created_at":"2018-07-02T20:57:19.000Z","updated_at":"2025-06-20T20:40:25.000Z","dependencies_parsed_at":"2024-12-04T12:28:55.612Z","dependency_job_id":"e7718f00-791f-4baf-b3e9-c3290f86b5c3","html_url":"https://github.com/harismuneer/BelalHashmi-Assembly-Exercise-Solutions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harismuneer/BelalHashmi-Assembly-Exercise-Solutions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harismuneer%2FBelalHashmi-Assembly-Exercise-Solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harismuneer%2FBelalHashmi-Assembly-Exercise-Solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harismuneer%2FBelalHashmi-Assembly-Exercise-Solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harismuneer%2FBelalHashmi-Assembly-Exercise-Solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harismuneer","download_url":"https://codeload.github.com/harismuneer/BelalHashmi-Assembly-Exercise-Solutions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harismuneer%2FBelalHashmi-Assembly-Exercise-Solutions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274681244,"owners_count":25330235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["afd","assembly-8086","assembly-language","assembly-language-programming","assembly-x86","bao-ji","belal-hashmi-answers","belal-hashmi-book-solutions","belal-hashmi-solved-exercises","bilal-hashmi-exercise-solutions","cs401-solved-exercises","dosbox","hardware-interrupts","interrupts","nasm-assembly","pcb","software-interrupts","solved-exercices","systems-programming","video-memory"],"created_at":"2024-09-24T22:58:54.230Z","updated_at":"2025-09-11T17:46:21.698Z","avatar_url":"https://github.com/harismuneer.png","language":"Assembly","funding_links":["https://www.cyfylabs.com"],"categories":[],"sub_categories":[],"readme":"# 💻 Solved Exercises of Chapters for Belal Hashmi's Book\n\n\u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg alt=\"views\" title=\"Github views\" src=\"https://komarev.com/ghpvc/?username=harismuneer\u0026style=flat-square\" width=\"125\"/\u003e\u003c/a\u003e\n[![Build Status](https://img.shields.io/badge/Build-Passing-brightgreen.svg?style=for-the-badge\u0026logo=appveyor)](#)\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](#)\n[![GitHub Forks](https://img.shields.io/github/forks/harismuneer/BelalHashmi-Assembly-Exercise-Solutions.svg?style=social\u0026label=Fork\u0026maxAge=2592000)](https://www.github.com/harismuneer/BelalHashmi-Assembly-Exercise-Solutions/fork)\n[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/BelalHashmi-Assembly-Exercise-Solutions.svg?style=flat\u0026label=Issues\u0026maxAge=2592000)](https://www.github.com/harismuneer/BelalHashmi-Assembly-Exercise-Solutions/issues)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\u0026label=Contributions\u0026colorA=red\u0026colorB=black\t)](#)\n\n\nThis 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. \n\n## Reference Book\n\n*The questions are taken from the book [Assembly Language Programming by Bilal Hashmi and Junaid Haroon](https://onlinebookpoint.blogspot.com/2016/10/assembly-language-programming-delivered.html)*\n\nIts 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!\n\n## How to Run\n1- Download this code and move the 'assembly_code' folder to C: directory.\n\n2- Install DOSBOX from this link: [Download DOSBOX Emulator](https://www.dosbox.com/download.php?main=1)\n\n3- 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.\nCopy these lines at the end of that file:\n```\nmount c: c:\\assembly_code \n```  \n```\nc:\n```\n4- Now to run any question (say named 'chp4_03.asm'), run DOSBOX 0.74 and type\n```\nnasm chp4_03.asm -o chp4_03.com  \n```\n\nTo run the code, type:\n\n```\nchp4_03.com\n```\n\nTo examine step by step working of the code, type\n\n```\nafd chp4_03.com\n```\n\n## Contributions Welcome\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](#)\n\n- If you find any bug in the code, you can edit that file and [propose a change request](https://help.github.com/articles/editing-files-in-another-user-s-repository/). \n\n- 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 haris.muneer5@gmail.com\n\n- 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 \nand I will add them to this repository. \n\nFor any contribution that you make to this repository, I will give you credits for that and will mention your name in the respective file :)\n\n## Contributors\n\nSo far following contributions are done by some awesome individuals:\n- [Farhan Ali](https://github.com/farhana1i) - contributed solutions for Chp 9: Q3 and Q8\n- [Saqib Ali](https://github.com/PySaqib) - contributed solutions for Chp 2: Q9 and Q10\n\n## Note\nKindly don't copy them in your assignments :P  \n\n## Related Repositories\nYou can check out these repositories too:\n\n- [📌 Display Memory (Video Card Memory), Strings, Software Interrupts, Hardware Interrupts - 8086 Assembly](https://github.com/harismuneer/Graphical-Display-Memory-and-Software_Hardware-Interrupts-x86_Assembly)\n- [🖥️ Bit Manipulation and Subroutines -8086 Assembly](https://github.com/harismuneer/Bit-Manipulation-and-Subroutines-8086_Assembly)\n- [⏱️ Stop Watch in x86 Assembly Language](https://github.com/harismuneer/Stop-Watch_x86-Assembly)\n\n-----------------------------------------------\n\n## Author\nYou can get in touch with me on my LinkedIn Profile: [![LinkedIn Link](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=linkedin\u0026longCache=true\u0026style=social\u0026label=Follow)](https://www.linkedin.com/in/harismuneer)\n\nYou can also follow my GitHub Profile to stay updated about my latest projects: [![GitHub Follow](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=Github\u0026longCache=true\u0026style=social\u0026label=Follow)](https://github.com/harismuneer)\n\nIf 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.\n\n\n## Issues\n[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/BelalHashmi-Assembly-Exercise-Solutions.svg?style=flat\u0026label=Issues\u0026maxAge=2592000)](https://www.github.com/harismuneer/BelalHashmi-Assembly-Exercise-Solutions/issues)\n\nIf you find any bugs, have suggestions, or face issues:\n\n- Open an Issue in the Issues Tab to discuss them.\n- Submit a Pull Request to propose fixes or improvements.\n- Review Pull Requests from other contributors to help maintain the project's quality and progress.\n\nThis 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.\n\nWith 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! 🚀\n\n## License\n[![MIT](https://img.shields.io/cocoapods/l/AFNetworking.svg?style=style\u0026label=License\u0026maxAge=2592000)](../master/LICENSE)\n\nCopyright (c) 2018-present, harismuneer                                                        \n\n\u003c!-- PROFILE_INTRO_START --\u003e\n\n\u003chr\u003e\n\n\u003ch1\u003e \u003ca href=\"#\"\u003e\u003cimg src=\"https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif\" alt=\"Waving hand\" width=\"28\"\u003e\u003c/a\u003e\nHey there, I'm \u003ca href=\"https://www.linkedin.com/in/harismuneer/\"\u003eHaris Muneer\u003c/a\u003e 👨🏻‍💻\n\u003c/h1\u003e\n\n\n\u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/harismuneer\" alt=\"Total Github Stars\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/harismuneer?tab=followers\"\u003e\u003cimg src=\"https://img.shields.io/github/followers/harismuneer\" alt=\"Total Github Followers\"\u003e\u003c/a\u003e\n\n\u003chr\u003e\n\n- \u003cb\u003e🛠️ Product Builder:\u003c/b\u003e Agile Product Manager with 5+ years of hands-on experience delivering SaaS solutions across sales, recruiting, AI, social media, and public sector domains. Background in Computer Science, with a proven track record of scaling products from inception to $XXM+ ARR, launching 3 top-ranking tools on Product Hunt, and developing solutions adopted by 250+ B2B clients in 40+ countries.  \n \n- \u003cb\u003e🌟 Open Source Advocate:\u003c/b\u003e Passionate about making technology accessible, I’ve developed and open-sourced several software projects for web, mobile, desktop, and AI on my \u003ca href=\"https://github.com/harismuneer\"\u003eGitHub profile\u003c/a\u003e. These projects have been used by thousands of learners worldwide to enhance their skills and knowledge.\n\n- \u003cb\u003e📫 How to Reach Me:\u003c/b\u003e To learn more about my skills and work, visit my \u003ca href=\"https://www.linkedin.com/in/harismuneer\"\u003eLinkedIn profile\u003c/a\u003e. For collaboration or inquiries, feel free to reach out via \u003ca href=\"mailto:haris.muneer5@gmail.com\"\u003eemail\u003c/a\u003e.\n\n\u003chr\u003e\n\n\u003ch2 align=\"left\"\u003e🤝 Follow my journey\u003c/h2\u003e\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.linkedin.com/in/harismuneer\"\u003e\u003cimg title=\"Follow Haris Muneer on LinkedIn\" src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg title=\"Follow Haris Muneer on GitHub\" src=\"https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/@haris_muneer?sub_confirmation=1\"\u003e\u003cimg title=\"Subscribe on YouTube\" src=\"https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white\"/\u003e\u003c/a\u003e \n  \u003ca href=\"mailto:haris.muneer5@gmail.com\"\u003e\u003cimg title=\"Email\" src=\"https://img.shields.io/badge/Gmail-D14836?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- PROFILE_INTRO_END --\u003e\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharismuneer%2Fbelalhashmi-assembly-exercise-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharismuneer%2Fbelalhashmi-assembly-exercise-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharismuneer%2Fbelalhashmi-assembly-exercise-solutions/lists"}