Cosmos/source/Indy.IL2CPU.Assembler.X86/CmpXchg.cs
2007-10-11 18:04:03 +00:00

18 lines
446 B
C#

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