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

📄 mt6_exit.asm

📁 小型操作系统,以VC为开发环境,需要boachs调试
💻 ASM
字号:
;/***************************************************************************
;**     File name   : mt6_exit.asm
;**     Author      : 
;**     Create date :
;**
;**	  Comments:
;**		Exit point for task & threads.
;**	
;**     Revisions:
;**     $Log: mt6_exit.asm,v $
;**     Revision 1.1.1.1  2005/07/27 06:53:15  x.cheng
;**     add into repositories
;**
;**
;***************************************************************************/
[global __Task_Exit_Point]

align 4096

; // Exit point for task and threads.
; // This is the only page of the kernel that must be
; // available for execution from the user privilege level.

__Task_Exit_Point:
	push	eax			; // Push the return value.

l:	
	xor	eax, eax	; // Invoke the exit syscall.
	
	;int	$0x80
	
	ret

	jmp	l

align 4096
__Task_Exit_Point_End:

⌨️ 快捷键说明

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