{"id":20581019,"url":"https://github.com/coder2mo/dectobin","last_synced_at":"2025-06-15T10:37:37.900Z","repository":{"id":214686766,"uuid":"737114284","full_name":"Coder2Mo/DecToBin","owner":"Coder2Mo","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-29T21:43:44.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T22:36:47.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Coder2Mo.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":"2023-12-29T21:34:22.000Z","updated_at":"2023-12-29T21:39:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"1da62a04-fdd0-4255-8489-72a5dbe84b75","html_url":"https://github.com/Coder2Mo/DecToBin","commit_stats":null,"previous_names":["coder2mo/dectobin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder2Mo%2FDecToBin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder2Mo%2FDecToBin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder2Mo%2FDecToBin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder2Mo%2FDecToBin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coder2Mo","download_url":"https://codeload.github.com/Coder2Mo/DecToBin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242206046,"owners_count":20089255,"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":[],"created_at":"2024-11-16T06:26:42.962Z","updated_at":"2025-03-06T12:16:00.367Z","avatar_url":"https://github.com/Coder2Mo.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"```markdown\n# Decimal to Binary Converter\n\nThis simple assembly program converts a decimal number to its binary representation. It uses the x86 assembly language and is intended to run in a DOS environment with the `.model small` memory model.\n\n## Usage\n1. Assemble the code using an x86 assembler.\n2. Run the executable in a DOS environment.\n\n## Instructions\n1. The program prompts the user to enter a decimal number.\n2. Input '0' to exit the program.\n3. The program converts the entered decimal number to its binary representation.\n4. The result is displayed.\n\n## Code Overview\n- **Data Section:**\n  - `a`: Variable to store the entered decimal number.\n  - `buffers`: Array to store the binary representation of the decimal number.\n  - `messages`: Array for newline characters.\n  - `prompt_msg`: Message prompting the user to enter a decimal number.\n\n- **Code Section:**\n  - `main_loop`: Main loop for user input and processing.\n  - User input is converted to a binary representation.\n  - The binary representation is displayed.\n  - The program exits when the user inputs '0'.\n\n- **Exit Procedure:**\n  - Displays a confirmation message before exiting.\n\n## How to Run\n1. Assemble the code using an x86 assembler (e.g., TASM).\n2. Run the generated executable in a DOS environment (e.g., DOSBox).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder2mo%2Fdectobin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder2mo%2Fdectobin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder2mo%2Fdectobin/lists"}