{"id":15060395,"url":"https://github.com/princeranjan03/alu_assembly","last_synced_at":"2026-01-29T10:44:29.858Z","repository":{"id":236454511,"uuid":"792645029","full_name":"princeranjan03/ALU_Assembly","owner":"princeranjan03","description":" An ALU built in 8086 Assembly Language takes user input to perform arithmetic operations and data manipulation. It supports addition, subtraction, multiplication, division, modulus, squaring, and cubing. Additionally, it includes binary operations like rotate left (ROL) and rotate right (ROR).","archived":false,"fork":false,"pushed_at":"2024-05-05T10:46:27.000Z","size":3038,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-15T05:17:08.785Z","etag":null,"topics":["assembly","assembly-8086","assembly-language","assembly-language-programming","assembly-x86","emu8086"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/princeranjan03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-27T06:44:15.000Z","updated_at":"2024-09-09T13:47:23.000Z","dependencies_parsed_at":"2024-04-27T07:41:25.588Z","dependency_job_id":"1457ad49-bff8-4249-a011-86ec1bbb4a0b","html_url":"https://github.com/princeranjan03/ALU_Assembly","commit_stats":null,"previous_names":["princeranjan03/alu_assembly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/princeranjan03%2FALU_Assembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/princeranjan03%2FALU_Assembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/princeranjan03%2FALU_Assembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/princeranjan03%2FALU_Assembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/princeranjan03","download_url":"https://codeload.github.com/princeranjan03/ALU_Assembly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685592,"owners_count":20330983,"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","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":["assembly","assembly-8086","assembly-language","assembly-language-programming","assembly-x86","emu8086"],"created_at":"2024-09-24T22:58:15.805Z","updated_at":"2026-01-29T10:44:29.825Z","avatar_url":"https://github.com/princeranjan03.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ALU_Assembly\nAn Arithmetic Logic Unit (ALU) implementation in 8086 Assembly Language that enables users to input numerical values, select desired arithmetic operations, and obtain the results. This program can perform basic arithmetic functions such as addition, subtraction, multiplication, and division, as well as advanced operations like modulus, squaring, and cubing. It also supports binary operations such as bitwise shifts, including rotate left (ROL) and rotate right (ROR), for enhanced data manipulation and flexibility in computation.\n\n## Title:\nALU_Computation_8086\n\n\n\n## Objective:\nThe aim of this project is to apply the concepts and knowledge of assembly language in a practical setting. It leverages what I've learned about various assembly instructions and applies them to the project. This allows me to gain a deeper understanding of instruction operations and assembly language coding using the EMU8086 emulator.\n\n\n## Theory:\nThe calculator I've built performs simple mathematical operations such as addition, subtraction, multiplication, and division. It can also change a number's sign with the NEG operation, find the modulus, and conduct binary operations like OR, AND, XOR, and NOT. Additionally, it supports bitwise rotation operations (ROL and ROR), and can calculate the square and cube of a given number.\n\n\n## Implementation:\n\nI used EMU8086.inc Library which provides built in functions such as:\u003cbr\u003e\nprint ‘STRING’ – For printing String\u003cbr\u003e\nscan_num – For taking Integer Input\u003cbr\u003e\nprint_num – For displaying value stored in register\u003cbr\u003e\nprintn – For printing New Line \u003cbr\u003e\n0dh and 0ah as well as print10 and print13 can also be used to move to new line.\n\n## Debugging-Test-Run\nEMU8086 emulator code interface\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.41.39%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nAssembled code interface\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.41.50%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nOutput interface\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.42.15%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nAddition Operation (+)\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.44.45%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nRotate left [ROL] Operation (\u003c-)\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.45.55%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nAnd Operation (\u0026)\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.46.40%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nHalted interface\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.46.54%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\nThank You!! (end interface)\n![image](https://github.com/princeranjan03/ALU_Assembly/blob/main/outputs/Screenshot%202024-04-27%20at%2012.47.03%E2%80%AFPM.png)\u003cbr\u003e\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinceranjan03%2Falu_assembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprinceranjan03%2Falu_assembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinceranjan03%2Falu_assembly/lists"}