浏览代码

Use small value of MAX_DISP also for i8086 CPU

git-svn-id: trunk@39130 -
pierre 7 年之前
父节点
当前提交
64dc9abbc2
共有 1 个文件被更改,包括 6 次插入0 次删除
  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) }
    mode with displacement. (CPU SPECIFIC) }
 
 
 {$ifdef cpu68k}
 {$ifdef cpu68k}
+  {$define use_small}
+{endif}
+{$ifdef cpui8086}
+  {$define use_small}
+{endif}
+{$ifdef use_small}
  MAX_DISP = 32767;
  MAX_DISP = 32767;
 {$else}
 {$else}
  MAX_DISP = 65535;
  MAX_DISP = 65535;