1/* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS CRT 4 * FILE: lib/sdk/crt/except/i386/prolog.s 5 * PURPOSE: SEH Support for the CRT 6 * PROGRAMMERS: Wine Development Team 7 */ 8 9/* INCLUDES ******************************************************************/ 10 11#include <asm.inc> 12#include <ks386.inc> 13 14/* FUNCTIONS *****************************************************************/ 15.code 16 17PUBLIC __EH_prolog 18// Copied from Wine. 19__EH_prolog: 20 push -1 21 push eax 22 push fs:0 23 mov fs:0, esp 24 mov eax, [esp + 12] 25 mov [esp + 12], ebp 26 lea ebp, [esp + 12] 27 push eax 28 ret 29 30END 31