浏览代码

+ support NEC V20/V30's REPC/REPNC prefixes in the assembler reader

git-svn-id: trunk@33320 -
nickysn 9 年之前
父节点
当前提交
be83ae47b9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/x86/rax86.pas

+ 2 - 2
compiler/x86/rax86.pas

@@ -68,9 +68,9 @@ type
   end;
 
 const
-  AsmPrefixes = 6;
+  AsmPrefixes = 6{$ifdef i8086}+2{$endif i8086};
   AsmPrefix : array[0..AsmPrefixes-1] of TasmOP =(
-    A_LOCK,A_REP,A_REPE,A_REPNE,A_REPNZ,A_REPZ
+    A_LOCK,A_REP,A_REPE,A_REPNE,A_REPNZ,A_REPZ{$ifdef i8086},A_REPC,A_REPNC{$endif i8086}
   );
 
   AsmOverrides = 6;