Cosmos/source/Indy.IL2CPU/Assembler/x86/Xchg.cs
2008-11-01 12:49:18 +00:00

20 lines
562 B
C#

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