{"id":15060066,"url":"https://github.com/kavicastelo/assembly_calculator","last_synced_at":"2025-03-15T04:12:59.149Z","repository":{"id":253009938,"uuid":"841544914","full_name":"kavicastelo/assembly_calculator","owner":"kavicastelo","description":"This project is an advanced calculator written in x64 assembly for Windows. It supports both integer and floating-point operations, including addition, subtraction, multiplication, division, exponentiation, modulus, and trigonometric functions.","archived":false,"fork":false,"pushed_at":"2024-08-19T18:42:53.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T19:48:58.341Z","etag":null,"topics":["assembly","calculator","gcc","mingw-w64","nasm","windows"],"latest_commit_sha":null,"homepage":"","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/kavicastelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-08-12T16:07:44.000Z","updated_at":"2024-08-19T18:43:22.000Z","dependencies_parsed_at":"2024-08-19T22:04:45.770Z","dependency_job_id":null,"html_url":"https://github.com/kavicastelo/assembly_calculator","commit_stats":null,"previous_names":["kavicastelo/assembly_calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kavicastelo","download_url":"https://codeload.github.com/kavicastelo/assembly_calculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681084,"owners_count":20330155,"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","calculator","gcc","mingw-w64","nasm","windows"],"created_at":"2024-09-24T22:52:04.519Z","updated_at":"2025-03-15T04:12:59.128Z","avatar_url":"https://github.com/kavicastelo.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assembly_calculator\n\n### Overview\n\nThis project is an advanced calculator written in x64 assembly for Windows. It supports both integer and floating-point\noperations, including addition, subtraction, multiplication, division, exponentiation, modulus, and trigonometric\nfunctions. The calculator allows the user to choose between integer and floating-point calculations.\n\n### Features\n- Integer Operations:\n    - Addition\n    - Subtraction\n    - Multiplication\n    - Division\n    - Modulus\n    - Exponentiation\n\n- Floating-Point Operations:\n    - Addition\n    - Subtraction\n    - Multiplication\n    - Division\n    - Modulus\n    - Exponentiation\n    - Sine\n    - Cosine\n    - Tangent\n    - Square Root\n\n### Requirements\n\n- **NASM** - The Netwide Assembler for assembling the code.\n- **MinGW-w64** - For linking the object files to create an executable.\n\n### Usage\n\n1. Clone the repository:\n    ```shell\n    git clone https://github.com/kavicastelo/assembly_calculator.git\n    cd assembly_calculator\n    ```\n\n2. Assemble the Code:\n    Use NASM to assemble the code into an object file:\n    ```shell\n    nasm -f win64 CAL.asm -o CAL.obj\n    ```\n   \n3. Link the Object File:\n    Use MinGW-w64 to link the object file to create an executable:\n    ```shell\n    gcc -o CAL.exe CAL.obj\n    ```\n\n4. Run the executable:\n    After successfully building the executable, run it:\n    ```shell\n    ./CAL.exe\n    ```\n   \n5. Using the Calculator:\n   - The calculator displays a menu to choose the desired operation.\n   - You will be prompted to select between integer and floating-point calculations.\n   - Enter the required numbers as prompted.\n   - The result will be displayed, and the menu will be shown again for further operations.\n\n### Limitations\n   - The calculator does not support memory storage for recalling previous results.\n   - Input validation is minimal; incorrect inputs may cause unexpected behavior.\n\n### License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fassembly_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavicastelo%2Fassembly_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fassembly_calculator/lists"}