Tfx Command
(requires ENG access)
bnk mcb

Description Walks the linked-list of memory control blocks and displays the following information:

<State> <Address> <Size>

The state of the memory control block will be one of the following:
  • Used
  • Free

The address of the memory control block is the address within the bank-switched data memory from 0h to 2FFFFh. Since the size of the memory control block is four words, the memory address returned on the original function call is the address of the memory control block plus four words. The memory address is returned by the monitor command bnk allocate <size> and expected by the monitor command bnk free <address>.

The size of the memory control block indicates the data length allocated by the original function call. Since the size of the memory control block is four words, adding the address, size and four words determines the location of the next memory control block.

This is intended as a development tool and should not be used during normal operation.

Notes Thermal 1.0 / 1.7x equivalents:
  • The monitor command bnk mcb does not have an equivalent.

Related Documents COMMAND: bnk allocate <size>
COMMAND: bnk free <address>

Applies to: TFX THERMAL2
Access: ENG
Modified: Tue Aug 14 17:12:57 2001
Updated: Thu Jul 17 02:31:30 2008
Module: BNK