{"id":24320046,"url":"https://github.com/satharus/nasm-template","last_synced_at":"2026-04-21T11:03:04.208Z","repository":{"id":121151312,"uuid":"272456893","full_name":"Satharus/NASM-Template","owner":"Satharus","description":"NASM Template with a makefile and some helper IO functions.","archived":false,"fork":false,"pushed_at":"2020-06-15T14:29:21.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T15:53:29.524Z","etag":null,"topics":["assembly","linux","linux-syscall","nasm","nasm-assembly","template","template-project"],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Satharus.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":"2020-06-15T14:13:22.000Z","updated_at":"2024-07-29T10:08:31.000Z","dependencies_parsed_at":"2024-08-21T09:15:42.544Z","dependency_job_id":null,"html_url":"https://github.com/Satharus/NASM-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Satharus%2FNASM-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Satharus%2FNASM-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Satharus%2FNASM-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Satharus%2FNASM-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Satharus","download_url":"https://codeload.github.com/Satharus/NASM-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242933870,"owners_count":20208912,"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","linux","linux-syscall","nasm","nasm-assembly","template","template-project"],"created_at":"2025-01-17T15:47:34.747Z","updated_at":"2026-04-21T11:03:04.175Z","avatar_url":"https://github.com/Satharus.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NASM-Template\n\n##### This is a template for writing assembly using NASM.\n\nIt has a template \"main\" file, makefile, and a few helper functions \"IO.inc\" to help with I/O without having to use Linux syscalls explicitly.\n\nI wrote these functions for the [AES Encryption](https://github.com/Satharus/AES-Encryption) project, so that's why some functions are oddly specific.\n\n## Function Guide:\n\n|    Function    |                        Parameters                       |          Returns          |                            Description                           |\n|:--------------:|:-------------------------------------------------------:|:-------------------------:|:----------------------------------------------------------------:|\n| ReadChar       |                           N/A                           | al: Character read        | Reads a character from STDIN and saves it in al.                 |\n| WriteChar      | al: Character                                           |            N/A            | Writes the specified ASCII character to STDOUT.                  |\n| ReadString     | ecx: String max length esi: Address of storage location | eax: Number of bytes read | Reads a string from STDIN and saves it at the specified address. |\n| WriteString    | ecx: Length of the string esi: Address of the string    |            N/A            | Writes the specified string to STDOUT.                           |\n| WriteLine      |                           N/A                           |            N/A            | Writes a new line ('\\n') to STDOUT.                              |\n| WriteDec       | eax: Value to be written                                |            N/A            | Writes the specified value in base-10 (Decimal) to STDOUT.       |\n| ReadHexByte    |                           N/A                           | al: Value read            | Reads a hex byte from STDIN, without 0x or h. Ex: 3A or F5       |\n| WriteHex       | eax: Value to be written                                |            N/A            | Writes the specified hex value to STDOUT.                        |\n| Print4x4Matrix | esi: byte array of length 16                            |            N/A            | Write the array as a 4x4 hex grid.                               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatharus%2Fnasm-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatharus%2Fnasm-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatharus%2Fnasm-template/lists"}