SH-4 Assembler Macros

SH-4 assembler-level macros isolate the programmer from the details involved with using assembler directives. For a description of how these macros are implemented using assembler directives, see Hitachi Assembler Directive Example.

The following table shows the macros defined for SH-4 microprocessors.

Macro name Description
ALTERNATE_ENTRY Declares an alternate entry to a routine
END_REGION Marks the end of a contiguous range of text or data
ENTRY_END Ends the routine that was specified by a prior NESTED_ENTRY
EXCEPTION_HANDLER_DATA Associates a named exception handler with the subsequent NESTED_ENTRY
EXCEPTION_HANDLER_DATA Associates a named exception handler and the handler data with the subsequent NESTED_ENTRY
LEAF_ENTRY Declares the beginning of a routine that does not require any prolog code
NESTED_ENTRY Declares the beginning of a routine that either has an existing stack frame or creates a new stack frame
PROLOG_END Marks the end of the prolog area
START_REGION Marks the beginning of a contiguous range of text or data

See Also

SH-4 Calling Sequence Specification | SH-4 Registers | SH-4 Stack Frame Layout | SH-4 Parameter Passing | SH-4 Return Values | SH-4 Prolog and Epilog | SH-4 pdata Format

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.