Browse Source

Use small value of MAX_DISP also for i8086 CPU

git-svn-id: trunk@39130 -
pierre 7 years ago
parent
commit
64dc9abbc2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tests/test/cg/tsubst.pp

+ 6 - 0
tests/test/cg/tsubst.pp

@@ -26,6 +26,12 @@ const
    mode with displacement. (CPU SPECIFIC) }
 
 {$ifdef cpu68k}
+  {$define use_small}
+{endif}
+{$ifdef cpui8086}
+  {$define use_small}
+{endif}
+{$ifdef use_small}
  MAX_DISP = 32767;
 {$else}
  MAX_DISP = 65535;