{"id":16417961,"url":"https://github.com/funnydman/nasm-assembly-examples","last_synced_at":"2025-08-29T02:37:52.910Z","repository":{"id":60723167,"uuid":"145513798","full_name":"funnydman/nasm-assembly-examples","owner":"funnydman","description":"Some of my notes, books, code listings for asembler studying. Enjoy!","archived":false,"fork":false,"pushed_at":"2023-03-29T11:32:38.000Z","size":312,"stargazers_count":55,"open_issues_count":0,"forks_count":13,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T13:39:16.850Z","etag":null,"topics":["asm","assembler","assembly-language","assembly-x86","nasm","nasm-assembly"],"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/funnydman.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":"2018-08-21T05:57:18.000Z","updated_at":"2025-03-23T09:46:24.000Z","dependencies_parsed_at":"2024-10-28T15:28:23.805Z","dependency_job_id":"cd18933f-2050-4a40-9960-ff4c45defdd2","html_url":"https://github.com/funnydman/nasm-assembly-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/funnydman/nasm-assembly-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funnydman%2Fnasm-assembly-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funnydman%2Fnasm-assembly-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funnydman%2Fnasm-assembly-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funnydman%2Fnasm-assembly-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funnydman","download_url":"https://codeload.github.com/funnydman/nasm-assembly-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funnydman%2Fnasm-assembly-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272612178,"owners_count":24964388,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asm","assembler","assembly-language","assembly-x86","nasm","nasm-assembly"],"created_at":"2024-10-11T07:12:48.071Z","updated_at":"2025-08-29T02:37:52.799Z","avatar_url":"https://github.com/funnydman.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nasm-assembly-examples\n\n## Resources\n\n### Learn assembly (mostly NASM)\n0) [NASM Tutorial \u003c- Start here](https://cs.lmu.edu/~ray/notes/nasmtutorial/)\n1) [NASM - The Netwide Assembler](https://www.nasm.us/doc/)\n2) [Assembly Language for x86 Processors | Kip Irvine](https://www.amazon.com/dp/1782167102)\n3) [Low-Level Programming: C, Assembly, and Program Execution on Intel® 64 Architecture | Igor Zhirkov](https://www.amazon.com/-/es/Igor-Zhirkov/dp/1484224027/ref=sr_1_2?__mk_es_US=%C3%85M%C3%85%C5%BD%C3%95%C3%91\u0026crid=1HVS6XSBLBXN6\u0026keywords=nasm+assembly\u0026qid=1664734729\u0026qu=eyJxc2MiOiIxLjkxIiwicXNhIjoiMC4wMCIsInFzcCI6IjAuMDAifQ%3D%3D\u0026s=books\u0026sprefix=nasm+assembly%2Cstripbooks-intl-ship%2C176\u0026sr=1-2)\n4) [Reverse Engineering for beginners (open-source book) | Dennis Yurichev](https://beginners.re/)\n5) [http://www.stolyarov.info/books/asm_unix (russian)](http://www.stolyarov.info/books/asm_unix)\n6) [https://www.ozon.ru/context/detail/id/4579142/ (russian)](https://www.ozon.ru/context/detail/id/4579142/)\n7) [xchg_rax|advanced Assembler](https://www.xorpd.net/pages/xchg_rax/snip_00.html)\n8) [xorpd-solutions](https://github.com/funnydman/xorpd-solutions)\n9) [PC Assembly Language | Paul A. Carter](http://pacman128.github.io/pcasm/)\n10) [x86_64 Linux Assembly | Video Course](https://www.youtube.com/watch?v=vXsUIX_Ozgc\u0026list=PLetF-YjXm-sCH6FrTz4AQhfH6INDQvQSn\u0026index=11)\n \n---\n### Linux \u0026 C \u0026 binary analysis, and how it works\n1) [x86 and amd64 instruction reference](https://www.felixcloutier.com/x86/index.html)\n2) [Linux insides](https://0xax.gitbooks.io/linux-insides/content/Theory/linux-theory-2.html)\n3) [Deep C (and C++)](https://www.slideshare.net/olvemaudal/deep-c/22-What_will_happen_if_you)\n4) [Learning Linux Binary Analysis](https://www.amazon.com/dp/1782167102)\n5) [System V Application Binary Interface AMD64 Architecture Processor Supplement](https://www.intel.com/content/dam/develop/external/us/en/documents/mpx-linux64-abi.pdf)\n6) [Linux Standard Base, Specifications Archive](https://refspecs.linuxfoundation.org/lsb.shtml)\n---\n\n### Binary hacking (radare2, gdb, ...)\n0) [The Official Radare2 Book](https://book.rada.re/)\n1) [radare2 | First r2babies steps - Long Version](https://www.itrust.lu/wp-content/uploads/2015/11/news_Radare2-Presentation.pdf)\n2) [Optimizing subroutines in assembly language, An optimization guide for x86 platforms](https://www.agner.org/optimize/optimizing_assembly.pdf)\n3) [Hacking: The Art of Exploitation, 2nd Edition | Jon Erickson](https://www.amazon.com/Hacking-Art-Exploitation-Jon-Erickson/dp/1593271441)\n4) [Reversing: Secrets of Reverse Engineering | Eldad Eilam](https://www.amazon.com/Reversing-Secrets-Engineering-Eldad-Eilam/dp/0764574817)\n5) [8 gdb tricks you should know](https://blogs.oracle.com/linux/post/8-gdb-tricks-you-should-know)\n\n---\n\n### OS development \n1) [Making an OS (x86) | Playlist](https://www.youtube.com/playlist?list=PLm3B56ql_akNcvH8vvJRYOc7TbYhRs19M)\n\n\n### References that you might find helpful\n1) [Linux syscalls table](http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/)\n2) [Searchable Linux Syscall Table for x86 and x86_64](https://filippo.io/linux-syscall-table/)\n3) [Complete 8086 instruction set](https://yassinebridi.github.io/asm-docs/8086_instruction_set.html#top1)\n4) [BIOS Interrupt Jump Table](http://www.ctyme.com/intr/int.htm)\n\n### RISC\n1) [Assemblers, Linkers, and Loaders Hakim Weatherspoon CS 3410 Computer Science Cornell University](https://www.cs.cornell.edu/courses/cs3410/2019sp/schedule/slides/11-linkload-notes-bw.pdf)\n2) [Digital Design and Computer Architecture RISC-V Edition](https://www.amazon.com/Digital-Design-Computer-Architecture-RISC-V/dp/0128200642)\n3) [Digital Design and Computer Architecture: RISC-V Edition, resources](http://pages.hmc.edu/harris/ddca/ddcarv.html)\n4) [RISC-V Instruction Formats, Instructor: Steven Ho](https://inst.eecs.berkeley.edu/~cs61c/resources/su18_lec/Lecture7.pdf)\n5) [RISC-V Online Assembler](https://riscvasm.lucasteske.dev/#)\n\n### books\n1) [But How Do It Know? - The Basic Principles of Computers for Everyone | Clark Scott](https://www.amazon.com/But-How-Know-Principles-Computers/dp/0615303765)\n\n### Tools \n1) [Simple crossplatform IDE for NASM, MASM, GAS, FASM assembly languages](https://dman95.github.io/SASM/english.html)\n\n---\n### Other\n- [6502 Instruction Set](https://www.masswerk.at/6502/6502_instruction_set.html#LDA)\n\n#### Some articles about static and dynamic linking\n- http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html\n- http://www.tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html\n- https://amir.rachum.com/blog/2016/09/17/shared-libraries/\n- https://renenyffenegger.ch/notes/development/languages/C-C-plus-plus/GCC/create-libraries/index\n- https://littleosbook.github.io/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunnydman%2Fnasm-assembly-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunnydman%2Fnasm-assembly-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunnydman%2Fnasm-assembly-examples/lists"}