The memory management in DOS is simple, but that simplicity may be deceptive. There are several rather interesting pitfalls that programming documentation often does not mention.
Оказавшиеся в Дубае российские звезды рассказали об обстановке в городе14:52
,这一点在搜狗输入法下载中也有详细论述
互联网考古,旧产品评测,业余写代码
The SETBLOCK function is somewhat like realloc() in the Standard C library, but never moves the allocated block. Resizing a block to the same or smaller size will always succeed, and will free up the remaining memory. Resizing to a larger size may fail, and if it does, the maximum available size will be returned in the BX register (just like when allocating).