Install our extension to search inside any video instantly.

Building free() from Scratch in x86 Assembly

Added:
104 views17likes51:11MxyAhoyOriginal Release: 2026-07-18

This video demonstrates how to implement a free() function in x86 assembly that enables memory reuse by storing block metadata (size and free flag) in an 8-byte header at the start of each allocated block, allowing the allocator to track which blocks are available for reuse without actually clearing the memory contents.