exceptionhandler-bf561.asm

来自「analog device vdsp LAN driver and exampl」· 汇编 代码 · 共 45 行

ASM
45
字号
/* =============================================================================
 *
 *  Description: This is the exception handler.
 *
 * -----------------------------------------------------------------------------
 *  Comments: 
 *
 * ===========================================================================*/

#include "VDK.h"
.file_attr prefersMem="internal";

.section data1;
/* declare external globals */

/* declare locals */

.section program;

/******************************************************************************
 * UserExceptionHandler
 */

/* User Exception Handler entry point */
.GLOBAL     UserExceptionHandler;
UserExceptionHandler:

	/**
	 * Handle the exception...
	 *
	 * Remember that the VDK reserves the user exception 0, which
	 * is accessed with the following instruction:
	 *
	 *	EXCPT 0;
	 *
	 * Any other exception (user or system), is your responsibility to 
	 * handle here.
	 */

	RTX;

.UserExceptionHandler.end:

/* ========================================================================== */

⌨️ 快捷键说明

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