From e16e08b2b6d856f2b3c8fe5801d3503874bec938 Mon Sep 17 00:00:00 2001 From: nickysn Date: Tue, 26 Mar 2013 00:57:38 +0000 Subject: [PATCH] + added CPU 286 nasm directive to the i8086 assembly output in order to catch 386+ instructions; the RTL now compiles without generating any 386+ instructions git-svn-id: branches/i8086@24010 - --- compiler/x86/agx86nsm.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/x86/agx86nsm.pas b/compiler/x86/agx86nsm.pas index cfd24b5e52..16228ca5c4 100644 --- a/compiler/x86/agx86nsm.pas +++ b/compiler/x86/agx86nsm.pas @@ -1038,6 +1038,7 @@ interface {$endif} {$ifdef i8086} AsmWriteLn('BITS 16'); + AsmWriteLn('CPU 286'); {$else i8086} AsmWriteLn('BITS 32'); {$endif i8086}