Share via


SH-3 Assembler Macros

SH-3 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-3 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-3 Calling Sequence Specification | SH-3 Registers | SH-3 Stack Frame Layout | SH-3 Parameter Passing | SH-3 Return Values | SH-3 Prolog and Epilog | SH-3 pdata Format

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.