.dh (Display Local Heap)

.dh
 

The .dh command displays a list of the local memory objects in the local heap (if any) belonging to the current data segment. The command uses the current value of the DS register to locate the data segment and check for a local heap.

The list of memory objects has the following form:

offset: size { BUSY | FREE }
 
offset
Specifies the address offset from the beginning of the data segment to the local memory object.
size
Specifies the size of the object, in bytes.

If BUSY is displayed, the object has been allocated and is currently in use. If FREE is displayed, the object is in the pool of free objects ready to be allocated by the application. A special memory object, SENTINAL, may also be displayed.