From 531b4e5a245fb5ec38d72999bda9ea4cf672e1d8 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 1 Nov 2010 18:48:40 +0000 Subject: [PATCH] {ASM] - Remove superfluous .code64 - Add some macros for MSVC svn path=/trunk/; revision=49413 --- reactos/include/reactos/asm.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/reactos/include/reactos/asm.h b/reactos/include/reactos/asm.h index f60a37c79ef..4a6f20b9f08 100644 --- a/reactos/include/reactos/asm.h +++ b/reactos/include/reactos/asm.h @@ -13,6 +13,7 @@ OPTION DOTNAME .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 @@ ENDM .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 @@ ENDM /* Force intel syntax */ .intel_syntax noprefix -.code64 .altmacro