From c08ec5fbf33679f1fff6a312ef94c8a793de6df2 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 24 Jan 2005 20:44:29 +0000 Subject: [PATCH] * wrong prefix output for masm fixed --- compiler/i386/ag386int.pas | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/compiler/i386/ag386int.pas b/compiler/i386/ag386int.pas index a509f9d400..6b0989b695 100644 --- a/compiler/i386/ag386int.pas +++ b/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