{"id":15060043,"url":"https://github.com/kavicastelo/assembly_memory_management","last_synced_at":"2025-03-15T04:12:59.716Z","repository":{"id":251213992,"uuid":"836723423","full_name":"kavicastelo/assembly_memory_management","owner":"kavicastelo","description":"This repository contains examples of memory management implemented in x86-64 assembly on Windows. Each example demonstrates different approaches to handling memory allocation and deallocation.","archived":false,"fork":false,"pushed_at":"2024-08-04T21:09:50.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T19:48:58.810Z","etag":null,"topics":["assembly","memory-management","mingw-w64","nasm","windows64"],"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/kavicastelo.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":"2024-08-01T12:29:24.000Z","updated_at":"2024-08-06T20:20:21.000Z","dependencies_parsed_at":"2024-09-24T22:51:43.578Z","dependency_job_id":"e99337c9-29d7-4f71-9b20-a2fea3422fb5","html_url":"https://github.com/kavicastelo/assembly_memory_management","commit_stats":null,"previous_names":["kavicastelo/assembly_memory_management"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_memory_management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_memory_management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_memory_management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fassembly_memory_management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kavicastelo","download_url":"https://codeload.github.com/kavicastelo/assembly_memory_management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681084,"owners_count":20330155,"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","memory-management","mingw-w64","nasm","windows64"],"created_at":"2024-09-24T22:51:39.850Z","updated_at":"2025-03-15T04:12:59.695Z","avatar_url":"https://github.com/kavicastelo.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assembly Memory Management Examples\n\nThis repository contains examples of memory management implemented in x86-64 assembly on Windows. Each example\ndemonstrates different approaches to handling memory allocation and deallocation.\n\n## Contents\n\n1. **Simple Memory Management Example**\n   A basic example that demonstrates manual memory management using a statically allocated memory pool.\n2. **Simple Memory Management with Heap**\n   An extension of the basic example that includes dynamic memory allocation using heap memory.\n3. **First Fit Allocation Example**\n   An example implementing a simple first-fit memory allocation strategy, showing how to manage a memory pool\n   efficiently.\n\n## Getting Started\n### Prerequisites\n- NASM (Netwide Assembler)\n- MinGW-win64 (Minimalist GNU for Windows)\n\n### Compilation\n\n```bash\nnasm -f win64 -o example.exe example.asm\ngcc -m64 -o example example.o -lkernel32 -lmsvcrt\n```\nReplace `example.asm` with the desired file name.\n\n### Running the program\n\n```bash\n.\\example.exe\n```\n\n### Examples\n- `simple_memory_management.asm` (EX2): Demonstrates basic manual memory allocation and deallocation.\n- `simple_memory_management_with_heap.asm` (EX1): Shows how to manage dynamic memory using the heap.\n- `first_fit_allocation.asm` (EX3): Implements a first-fit allocation strategy with a custom memory pool.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fassembly_memory_management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavicastelo%2Fassembly_memory_management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fassembly_memory_management/lists"}