⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jmpuwind.src

📁 不错的东西 请查看 WINCE OS
💻 SRC
字号:
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; This source code is licensed under Microsoft Shared Source License
; Version 1.0 for Windows CE.
; For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
;
;      TITLE("Jump to Unwind")
;++
;
;
; Module Name:
;
;    jmpuwind.s
;
; Abstract:
;
;    This module implements the SH3 specific routine to jump to the runtime
;    time library unwind routine.
;
; Environment:
;
;    Any mode.
;
;--

	.include "kxsh3.h"

;++
;
; ULONG
; __C_ExecuteExceptionFilter (
;    PEXCEPTION_POINTERS ExceptionPointers,
;    EXCEPTION_FILTER ExceptionFilter,
;    ULONG EstablisherFrame
;    )
;
; Routine Description:
;
;    This function sets the static link and transfers control to the specified
;    exception filter routine.
;
; Arguments:
;
;    ExceptionPointers (r4) - Supplies a pointer to the exception pointers
;       structure.
;
;    ExceptionFilter (r5) - Supplies the address of the exception filter
;       routine.
;
;    EstablisherFrame (r6) - Supplies the establisher frame pointer.
;
; Return Value:
;
;    The value returned by the exception filter routine.
;
;--

	LEAF_ENTRY ___C_ExecuteExceptionFilter
	jmp	@r5		; transfer control to exception filter
	mov	r6, r0		; set static link
	.endf

;++
;
; VOID
; __C_ExecuteTerminationHandler (
;    BOOLEAN AbnormalTermination,
;    TERMINATION_HANDLER TerminationHandler,
;    ULONG EstablisherFrame
;    )
;
; Routine Description:
;
;    This function sets the static link and transfers control to the specified
;    termination handler routine.
;
; Arguments:
;
;    AbnormalTermination (r4) - Supplies a boolean value that determines
;       whether the termination is abnormal.
;
;    TerminationHandler (r5) - Supplies the address of the termination handler
;       routine.
;
;    EstablisherFrame (r6) - Supplies the establisher frame pointer.
;
; Return Value:
;
;    None.
;
;--

	LEAF_ENTRY ___C_ExecuteTerminationHandler
	jmp	@r5		; transfer control to exception filter
	mov	r6, r0		; set static link
	.endf

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -