Author: tkreuzer
Date: Mon Nov 1 18:48:40 2010
New Revision: 49413
URL:
http://svn.reactos.org/svn/reactos?rev=49413&view=rev
Log:
{ASM]
- Remove superfluous .code64
- Add some macros for MSVC
Modified:
trunk/reactos/include/reactos/asm.h
Modified: trunk/reactos/include/reactos/asm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/asm.h?rev=…
==============================================================================
--- trunk/reactos/include/reactos/asm.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/asm.h [iso-8859-1] Mon Nov 1 18:48:40 2010
@@ -13,6 +13,7 @@
.586
.MODEL FLAT
+ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
/* Hex numbers need to be in 01ABh format */
#define HEX(x) 0##x##h
@@ -58,6 +59,22 @@
.code
ENDM
+.align MACRO alignment
+ ALIGN alignment
+ENDM
+
+.byte MACRO args:VARARG
+ db args
+ENDM
+
+.short MACRO args:VARARG
+ dw args
+ENDM
+
+.long MACRO args:VARARG
+ dd args
+ENDM
+
UNIMPLEMENTED MACRO name
ENDM
@@ -68,7 +85,6 @@
/* Force intel syntax */
.intel_syntax noprefix
-.code64
.altmacro