memory simulator that allocates and frees memory from memory.bin commands: alloc - allocates val bytes if available returns address or -1 read - returns value stored in memory at addr write - stores val at address addr val must be in 0..255 free - free memory stored at address addr, detects false pointers i need to format this when I have some time
maeglad / memory-alocator Goto Github PK
View Code? Open in Web Editor NEWmemory simulator that allocates and frees memory from memory.bin file