{"id":30700633,"url":"https://github.com/fscotto/assembly_x86","last_synced_at":"2025-09-02T12:08:42.030Z","repository":{"id":302469897,"uuid":"1012439176","full_name":"fscotto/assembly_x86","owner":"fscotto","description":"Assembly x86 examples","archived":false,"fork":false,"pushed_at":"2025-07-02T14:23:43.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-02T15:31:56.093Z","etag":null,"topics":["assembly","x86-assembly"],"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/fscotto.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,"zenodo":null}},"created_at":"2025-07-02T10:34:36.000Z","updated_at":"2025-07-02T14:23:46.000Z","dependencies_parsed_at":"2025-07-02T15:33:19.687Z","dependency_job_id":"dc552945-48ae-450e-b483-54dcd398eb3d","html_url":"https://github.com/fscotto/assembly_x86","commit_stats":null,"previous_names":["fscotto/assembly_x86"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fscotto/assembly_x86","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscotto%2Fassembly_x86","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscotto%2Fassembly_x86/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscotto%2Fassembly_x86/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscotto%2Fassembly_x86/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fscotto","download_url":"https://codeload.github.com/fscotto/assembly_x86/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscotto%2Fassembly_x86/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273280600,"owners_count":25077382,"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-09-02T02:00:09.530Z","response_time":77,"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":["assembly","x86-assembly"],"created_at":"2025-09-02T12:08:36.702Z","updated_at":"2025-09-02T12:08:41.996Z","avatar_url":"https://github.com/fscotto.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Assembly x86 Examples (32-bit) - Intel Syntax\n\nThis repository contains a collection of simple **x86 32-bit assembly examples**, written using **Intel syntax**. These examples are meant to help you learn and experiment with low-level programming concepts on the x86 architecture.\n\n## 🛠 Toolchain Used\n\n- **Assembler:** [NASM (Netwide Assembler)](https://www.nasm.us/)\n- **Linker:** `ld` (GNU Linker)\n- **Target OS:** Linux (x86)\n\n## ▶️ How to Compile and Run\n\nMake sure you have `nasm` and `ld` installed. On Debian/Ubuntu:\n\n```bash\nsudo apt update\nsudo apt install nasm\n```\n\n### Compile\n\n```bash\nnasm -f elf32 file.asm -o file.o\nld -m elf_i386 file.o -o file\n```\n\nor using script\n\n```bash\n./asmc32.sh file.asm\n```\n\n### Run\n\n```bash\n./file\n```\n\n### Full Example\n\n```bash\n./asmc32.sh helloworld.asm\n./helloworld\n```\n\n## 📚 Intel Syntax\n\nAll source files use **Intel syntax**, where the **destination operand comes first**. For example:\n\n```asm\nmov eax, 1        ; Load 1 into eax\nmov ebx, eax      ; Copy eax into ebx\nmov ecx, [ebx]    ; Load into ecx the value at memory address stored in ebx\n```\n\n## 🧩 Requirements\n\n- 32-bit architecture or compatibility with `elf32`\n- Linux or a compatible environment with `nasm` + `ld`\n- Optional: QEMU or Docker for emulation on pure 64-bit systems\n\n## 📝 License\n\nThis project is licensed under the **MIT License**. Feel free to study, modify, and reuse the code.\n\n## 🤝 Contributing\n\nContributions, improvements, or new demos are welcome! Open an issue or a pull request 🚀\n\n---\n\n\u003e Made with ❤️ for low-level enthusiasts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscotto%2Fassembly_x86","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffscotto%2Fassembly_x86","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscotto%2Fassembly_x86/lists"}