Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manual Memory Allocator, NASM Assembly

License

Description:

A manual memory allocator written in NASM win64 assembly. The design is based off of the Rust program I made. The allocator is a simple freelist allocator that allocates memory in a single contiguous block. The allocator is able to allocate and deallocate memory while avoiding fragmentation.

Layout:

  • global.asm: Contains required global variables and functions (only _exit is used).
  • io.asm simplifies input/output in assembly, used for debugging.
  • main.asm: Main program that uses the memory allocator.
  • stdmem.asm: Implementation of the memory allocator. Contains functions for allocating, deallocating, and initializing memory. Also contains functions for debugging.
  • main.sh: Shell script that assembles and links the program. (NOTE: Use intended for WSL, may need to change for other systems)

License

This project is licensed under the MIT License.

About

A manual memory allocator written in NASM win64 assembly.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages