◄Detail► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Interrupt: 21h Function: 48h Title: Allocate Memory Block See also: Release Memory Block, Resize Memory Block, Get or Set Allocation Strategy, @GetBlock Description: Allocates a block of memory and returns a pointer to the beginning of the allocated area. Input Output AH = 48h If function successful BX = Number of paragraphs Carry flag: clear of memory needed AX = Initial segment of allocated block If function unsuccessful Carry flag: set AX = Error code (07h or 08h) See: ◄Error codes► BX = Size of largest available block (paragraphs) -♦-