[ros-diffs] [tkreuzer] 49419: [ASM] Add .double macro for ML and dummy ASSUME macro for GAS Allow XMM instructions for ML

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Nov 1 23:18:52 UTC 2010


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/asm.h?rev=49419&r1=49418&r2=49419&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list