gtpg2m0oGeneral Macros

CALOC-Reserve and Initialize Storage

This general macro obtains a variable-sized, doubleword-aligned block from heap-resident storage and initializes it.

Format




label
A symbolic name can be assigned to the macro statement.

COUNT=reg1
A general register (R0-R7, R14, or R15) or a register equate containing the number of elements to be allocated.

ESIZE=reg2
A general register (R0-R7, R14, or R15) or equate containing the size of each element to be allocated.

Entry Requirements

None.

Return Conditions

Programming Considerations

Examples

None.