Browse Source

* wrong prefix output for masm fixed

florian 20 years ago
parent
commit
c08ec5fbf3
1 changed files with 7 additions and 3 deletions
  1. 7 3
      compiler/i386/ag386int.pas

+ 7 - 3
compiler/i386/ag386int.pas

@@ -652,9 +652,10 @@ implementation
                           { nasm prefers prefix on a line alone
                           AsmWriteln(#9#9+prefix); but not masm PM
                           prefix:=''; }
-                          if (aktoutputformat = as_i386_masm) then
+                          if aktoutputformat in [as_i386_nasmcoff,as_i386_nasmwin32,as_i386_nasmwdosx,
+                            as_i386_nasmelf,as_i386_nasmobj,as_i386_nasmbeos] then
                              begin
-                               AsmWriteln(s);
+                               AsmWriteln(prefix);
                                prefix:='';
                              end;
                         end
@@ -875,7 +876,10 @@ initialization
 end.
 {
   $Log$
-  Revision 1.54  2004-12-12 10:50:34  florian
+  Revision 1.55  2005-01-24 20:44:29  florian
+    * wrong prefix output for masm fixed
+
+  Revision 1.54  2004/12/12 10:50:34  florian
     * fixed operand size calculation for sse operands
     + all nasm assembler targets to help page output added