Cosmos/source/Indy.IL2CPU/Assembler/x86/486AndUp/CmpAndXchg.cs
kudzu_cp 2ebfcde162
2008-09-22 00:08:39 +00:00

18 lines
452 B
C#

using System;
using System.Linq;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "cmpxchg")]
public class CmpAndXchg: Instruction {
public readonly string Destination;
public readonly string Source;
public CmpAndXchg(string aDestination, string aSource) {
Destination = aDestination;
Source = aSource;
}
public override string ToString() {
return "cmpxchg " + Destination + ", " + Source;
}
}
}