Author: tkreuzer Date: Sun Mar 28 21:25:40 2010 New Revision: 46520
URL: http://svn.reactos.org/svn/reactos?rev=46520&view=rev Log: update asm.h from trunk
Modified: branches/ros-amd64-bringup/reactos/include/reactos/asm.h
Modified: branches/ros-amd64-bringup/reactos/include/reactos/asm.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/includ... ============================================================================== --- branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] Sun Mar 28 21:25:40 2010 @@ -6,10 +6,13 @@ * PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org) */
-#ifdef _MSC_VER +#ifdef _USE_ML
/* Allow ".name" identifiers */ OPTION DOTNAME + +.586 +.MODEL FLAT
/* Hex numbers need to be in 01ABh format */ #define HEX(x) 0##x##h @@ -48,7 +51,11 @@ ENDM
.code64 MACRO - .code + .code +ENDM + +.code32 MACRO + .code ENDM
UNIMPLEMENTED MACRO name @@ -107,6 +114,13 @@
/* MASM needs an END tag */ #define END + +.macro .MODEL model +.endm + +.macro .code + .text +.endm
/* Macros for x64 stack unwind OPs */
@@ -171,5 +185,6 @@ #define if .if #define endif .endif #define else .else +#define elseif .elseif
#endif