◄Summary► ◄Notes► ◄Example► ◄Back► ────────────────────────────────────────────────────────────────────────────── ▀ If the function succeeds, the base address of the newly allocated block is AX:0000. ▀ The default allocation strategy used by MS-DOS is "first fit"; that is, the memory block at the lowest address that is large enough to satisfy the request is allocated. The allocation strategy can be altered with Int 21H Function 58H. ▀ When a .COM program is loaded, it ordinarily already "owns" all of the memory in the transient program area, leaving none for dynamic alloca- tion. The amount of memory initially allocated to a .EXE program at load time depends on the MINALLOC and MAXALLOC fields in the .EXE file header. See Int 21H Function 4AH. -♦-