SH-4 Assembler Macros (Windows Embedded CE 6.0)

1/5/2010

SH-4 assembler-level macros are reuired to implement prolog and epilog code sequences.

The following table shows the macros defined for SH-4 microprocessors, which are defined in Kxshx.h.

Macro name Description

ALTERNATE_ENTRY (SH-4)

Declares an alternate entry to a routine.

END_REGION (SH-4)

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

ENTRY_END (SH-4)

Ends the routine that was specified by a prior NESTED_ENTRY.

EXCEPTION_HANDLER (SH-4)

Associates a named exception handler with the subsequent NESTED_ENTRY.

EXCEPTION_HANDLER_DATA (SH-4)

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

LEAF_ENTRY (SH-4)

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

NESTED_ENTRY (SH-4)

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

PROLOG_END (SH-4)

Marks the end of the prolog area.

START_REGION (SH-4)

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

See Also

Other Resources

Renesas SH-4 Prolog and Epilog
Renesas SH-4 Calling Sequence Specification