Explorar el Código

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

git-svn-id: trunk@33320 -
nickysn hace 9 años
padre
commit
be83ae47b9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;