{"id":24177654,"url":"https://github.com/agarnung/x86-64-assembly-intro","last_synced_at":"2026-06-07T04:31:32.597Z","repository":{"id":268766678,"uuid":"905402621","full_name":"agarnung/x86-64-assembly-intro","owner":"agarnung","description":"Introductory exercises to assembly language","archived":false,"fork":false,"pushed_at":"2025-01-23T15:58:56.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T16:37:51.662Z","etag":null,"topics":["101","assembly","assembly-language","assembly-x86","assembly-x86-64"],"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/agarnung.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-12-18T18:50:47.000Z","updated_at":"2025-01-23T15:58:59.000Z","dependencies_parsed_at":"2024-12-18T19:46:33.458Z","dependency_job_id":"ad81c815-0cd1-401e-80c8-41afcb6ca50f","html_url":"https://github.com/agarnung/x86-64-assembly-intro","commit_stats":null,"previous_names":["agarnung/x86-64-assembly-intro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agarnung%2Fx86-64-assembly-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agarnung%2Fx86-64-assembly-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agarnung%2Fx86-64-assembly-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agarnung%2Fx86-64-assembly-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agarnung","download_url":"https://codeload.github.com/agarnung/x86-64-assembly-intro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241541450,"owners_count":19979121,"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":["101","assembly","assembly-language","assembly-x86","assembly-x86-64"],"created_at":"2025-01-13T04:15:23.854Z","updated_at":"2026-06-07T04:31:32.551Z","avatar_url":"https://github.com/agarnung.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# x86-64-assembly-intro\nIntroductory exercises to assembly language.\n\n\u003e [!IMPORTANT]\n\u003e Be sure your machine uses a x86_64 processor: ```uname -a```\n\n## About\nThe exercises are biased towards the x86-based processors supporting _protected_ mode, rather than the more insecure _active_ mode. The code is run on a 64-bit Linux machine with a 12th Gen Intel(R) Core(TM) i7-12650H CPU.\n\nAssembly language appears in two flavors: Intel Style \u0026 AT\u0026T style. GNU C compiler (i.e. GCC) uses AT\u0026T. But the exercises will be in Intel style (e.g. NASM). There are several syntax differences, see [this](https://www.codeproject.com/Articles/15971/Using-Inline-Assembly-in-C-Cplusplus) and [that](https://imada.sdu.dk/u/kslarsen/dm546/Material/IntelnATT.htm).\n\nThe open source NASM assembler is used to run the scripts:\n```\u003csh\u003e\nsudo apt-get install nasm\n```\n\nHow to compile, link and run a .asm code? Execute the provided shell script with the target folder's name as input argument, e.g.:  \n```\u003csh\u003e\nchmod 755 my-run_asm.sh \u0026\u0026 ./run_asm.sh ./ex1\n```\n\n## Index\n- [ex01](https://github.com/agarnung/x86-64-assembly-intro/tree/main/ex01): ...\n- [ex02](https://github.com/agarnung/x86-64-assembly-intro/tree/main/ex02): ...\n- ...\n  \n## References:\nThese exercises are (and will be) based on the listed references:\n1. Books\n  - https://pacman128.github.io/static/pcasm-book.pdf (Paul A. Carter, 2019)\n  - https://jagdishkapadnis.wordpress.com/wp-content/uploads/2015/05/assembly-language-step-by-step-programming-with-linux-3rd-edition.pdf (Jeff Duntemann, 2009)\n2. Links\n  - https://en.wikipedia.org/wiki/Assembly_language#%22Hello,_world!%22_on_x86_Linux\n  - https://p403n1x87.github.io/getting-started-with-x86-64-assembly-on-linux.html\n  - https://cratecode.com/info/nasm-tutorial\n  - https://www.tutorialspoint.com/assembly_programming/index.htm\n  - https://asmtutor.com/\n  - https://stackoverflow.com/questions/2352048/to-learn-assembly-should-i-start-with-32-bit-or-64-bit\n3. Videos\n  - https://www.youtube.com/watch?v=VQAKkuLL31g\u0026list=PLetF-YjXm-sCH6FrTz4AQhfH6INDQvQSn (series by @kupala)\n4. Repos\n  - https://github.com/code-tutorials/assembly-intro\n  - https://github.com/luamfb/intro_x86-64\n  - https://github.com/7h3w4lk3r/x86-nasm\n5. Other\n  - https://www.cs.virginia.edu/~jh2jf/courses/cs2130/spring2023/lectures/21-assembly.pdf\n  - List of syscalls: https://filippo.io/linux-syscall-table/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagarnung%2Fx86-64-assembly-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagarnung%2Fx86-64-assembly-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagarnung%2Fx86-64-assembly-intro/lists"}