Share via


ARM Assembler Macros

9/7/2007

ARM assembler-level macros are required to implement prolog and epilog code segments.

The following assembler level macros, which come from Kxarm.h, are available for ARM microprocessors.

Macro Description

ALTERNATE_ENTRY (ARM)

Declares an alternate entry to a routine.

END_REGION (ARM)

Marks the end of a contiguous range of text or data.

ENTRY_END (ARM)

Ends the routine that was specified by a prior NESTED_ENTRY (ARM).

EXCEPTION_HANDLER (ARM)

Associates a named exception handler with the subsequent NESTED_ENTRY (ARM).

EXCEPTION_HANDLER_DATA (ARM)

Associates a named exception handler and the handler data with the subsequent NESTED_ENTRY (ARM).

LEAF_ENTRY (ARM)

Declares the beginning of a routine that does not require prolog code.

NESTED_ENTRY (ARM)

Declares the beginning of a routine that either has an existing stack frame or that creates a stack frame.

PROLOG_END (ARM)

Marks the end of the prolog area.

START_REGION (ARM)

Marks the beginning of a contiguous range of text or data.

See Also

Concepts

ARM Registers
ARM Stack Frame Layout

Other Resources

ARM Prolog and Epilog