瀏覽代碼

Patched copy&paste error

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6878 8c9fc860-2736-0410-a75d-ab315db34111
felixf 9 年之前
父節點
當前提交
66b9af235a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/FoxAMDBackend.Mod

+ 2 - 2
source/FoxAMDBackend.Mod

@@ -2063,8 +2063,8 @@ TYPE
 
 		PROCEDURE EmitArithmetic3(CONST instruction: IntermediateCode.Instruction; opcode: LONGINT);
 		BEGIN
-				EmitArithmetic3Part(instruction,Low,InstructionSet.opXOR);
-				IF IsComplex(instruction.op1) THEN EmitArithmetic3Part(instruction, High, InstructionSet.opXOR) END;
+				EmitArithmetic3Part(instruction,Low,opcode);
+				IF IsComplex(instruction.op1) THEN EmitArithmetic3Part(instruction, High, opcode) END;
 		END EmitArithmetic3;
 
 		PROCEDURE EmitArithmetic3XMM(CONST instruction: IntermediateCode.Instruction; op32, op64: LONGINT);