Author: tkreuzer
Date: Mon Nov 1 23:18:51 2010
New Revision: 49419
URL:
http://svn.reactos.org/svn/reactos?rev=49419&view=rev
Log:
[ASM]
Add .double macro for ML and dummy ASSUME macro for GAS
Allow XMM instructions for ML
Modified:
branches/cmake-bringup/include/reactos/asm.h
Modified: branches/cmake-bringup/include/reactos/asm.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/reactos/a…
==============================================================================
--- branches/cmake-bringup/include/reactos/asm.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/reactos/asm.h [iso-8859-1] Mon Nov 1 23:18:51 2010
@@ -12,7 +12,9 @@
OPTION DOTNAME
.586
+.XMM
.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
@@ -56,6 +58,26 @@
.code32 MACRO
.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
+
+.double MACRO args:VARARG
+ dq args
ENDM
UNIMPLEMENTED MACRO name
@@ -98,6 +120,10 @@
/* MASM compatible PUBLIC */
.macro PUBLIC symbol
.global \symbol
+.endm
+
+/* Dummy ASSUME */
+.macro ASSUME
.endm
/* MASM compatible ALIGN */