[SDK/INCLUDE] Fix the .code16 macro definition for MASM/ML.
[reactos.git] / sdk / include / asm / asm.inc
index 3b4dfe1..7612815 100644 (file)
@@ -100,7 +100,7 @@ ENDM
 
 .code16 MACRO
     ASSUME nothing
-    .text SEGMENT use16
+    .text SEGMENT use16 PUBLIC 'CODE'
     .586P
 ENDM
 
@@ -136,10 +136,14 @@ ENDM
     dd args
 ENDM
 
-.double MACRO args:VARARG
+.quad MACRO args:VARARG
     dq args
 ENDM
 
+.double MACRO args:VARARG
+    real8 args
+ENDM
+
 .org MACRO value
     ORG value
 ENDM
@@ -309,6 +313,10 @@ ENDM
     .text
 .endm
 
+.macro .const
+    .section .rdata
+.endm
+
 /* check http://msdn.microsoft.com/en-us/library/9c9k076y%28VS.80%29.aspx
    and http://msdn.microsoft.com/en-us/library/ms679352%28VS.85%29.aspx */
 .macro FPO cdwLocals, cdwParams, cbProlog, cbRegs, fUseBP, cbFrame