SH-4 Assembler Function-Definition Directives (Windows CE 5.0)

Windows CE 5.0
Send Feedback

To support the requirements of C++ and structured exception handling as well as provision of stack traces in the debugger, object files must contain information regarding where functions begin and end and what part of each function is devoted to setting up the function's stack frame.

The following table shows SH assembler directives that define functions.

<symbol>[:] .ENTRY
Marks beginning of a function.
<symbol>[:] .BIGENTRY
Marks beginning of a function.
Marks end of a function.
Marks end of a function's prolog code.

The function prolog is the code at the beginning of the function that sets up the function stack frame.

The .PROLOG directive should appear between the last line of prolog code and the first line of non-prolog code for the function.

.PDATA <handler address>
[,<handler data>]
Specifies language-specific exception-handling information for current function.

The .PDATA directive must appear before the .ENTRY or .BIGENTRY section to which it applies.

See Also

SH-4 Assembler Directives

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.