From db5276af610bb64886a51f65d6bbe9614b37c8e4 Mon Sep 17 00:00:00 2001 From: nickysn Date: Thu, 9 Apr 2015 22:56:47 +0000 Subject: [PATCH] * i8086 binary writer fixes for asm codes 0300..0302 git-svn-id: trunk@30525 - --- compiler/x86/aasmcpu.pas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/x86/aasmcpu.pas b/compiler/x86/aasmcpu.pas index 60da68c473..e65403cdf3 100644 --- a/compiler/x86/aasmcpu.pas +++ b/compiler/x86/aasmcpu.pas @@ -2368,10 +2368,10 @@ implementation end; 192,193,194: begin -{$ifdef x86_64} +{$if defined(x86_64) or defined(i8086)} if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then inc(len); -{$endif x86_64} +{$endif x86_64 or i8086} end; else InternalError(200603141); @@ -2945,13 +2945,13 @@ implementation end; 192,193,194: begin -{$ifdef x86_64} +{$if defined(x86_64) or defined(i8086)} if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then begin bytes[0]:=$67; objdata.writebytes(bytes,1); end; -{$endif x86_64} +{$endif x86_64 or i8086} end; 200 : { fixed 16-bit addr } {$if defined(x86_64)}